Status(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the Status class with the specified status code and reason.
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)
Parameters
- code
- String
A string that contains the status code URI.
- reason
- String
A string that contains a human-readable reason. The reason is optional; can be null
.
Exceptions
code
is null
.
Applies to
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.