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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.