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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.