Edit

Share via


Status(String, String) Constructor

Definition

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