Status(String, String) 생성자

정의

지정된 상태 코드 및 이유를 사용하여 클래스의 Status 새 인스턴스를 초기화합니다.

public:
 Status(System::String ^ code, System::String ^ reason);
public Status(string code, string reason);
new System.IdentityModel.Protocols.WSTrust.Status : string * string -> System.IdentityModel.Protocols.WSTrust.Status
Public Sub New (code As String, reason As String)

매개 변수

code
String

상태 코드 URI를 포함하는 문자열입니다.

reason
String

사람이 읽을 수 있는 이유가 포함된 문자열입니다. 이유는 선택 사항입니다. 가 될 null수 있습니다.

예외

codenull입니다.

적용 대상