Edit

Share via


SignInRequestMessage Constructors

Definition

Initializes a new instance of the SignInRequestMessage class.

Overloads

SignInRequestMessage(Uri, String)

Initializes a new instance of the SignInRequestMessage class with the specified base URL and wtrealm parameter.

SignInRequestMessage(Uri, String, String)

Initializes a new instance of the SignInRequestMessage class using the specified base URI, wtrealm parameter, and wreply parameter. Supports non-standard message creation for backward compatibility.

SignInRequestMessage(Uri, String)

Initializes a new instance of the SignInRequestMessage class with the specified base URL and wtrealm parameter.

public:
 SignInRequestMessage(Uri ^ baseUrl, System::String ^ realm);
public SignInRequestMessage (Uri baseUrl, string realm);
new System.IdentityModel.Services.SignInRequestMessage : Uri * string -> System.IdentityModel.Services.SignInRequestMessage
Public Sub New (baseUrl As Uri, realm As String)

Parameters

baseUrl
Uri

The base URL to which the sign-in message applies.

realm
String

The value of the wtrealm message parameter. Sets the Realm property.

Exceptions

realm is null or an empty string.

Remarks

The wa message parameter (the Action property) is initialized to "wsignin1.0".

Applies to

SignInRequestMessage(Uri, String, String)

Initializes a new instance of the SignInRequestMessage class using the specified base URI, wtrealm parameter, and wreply parameter. Supports non-standard message creation for backward compatibility.

public:
 SignInRequestMessage(Uri ^ baseUrl, System::String ^ realm, System::String ^ reply);
public SignInRequestMessage (Uri baseUrl, string realm, string reply);
new System.IdentityModel.Services.SignInRequestMessage : Uri * string * string -> System.IdentityModel.Services.SignInRequestMessage
Public Sub New (baseUrl As Uri, realm As String, reply As String)

Parameters

baseUrl
Uri

The Base URL to which the sign-in message applies.

realm
String

The value of the wtrealm message parameter. If not null or empty, sets the Realm property.

reply
String

The URI to which to reply. (The value of the wreply message parameter.) If not null or empty, sets the Reply property.

Exceptions

Both realm and reply are null or an empty string.

Remarks

The wa message parameter (the Action property) is initialized to "wsignin1.0".

Supports non-standard message creation for backward compatibility. In the typical case, a wtrealm message parameter must be specified. This constructor allows only a wreply message parameter to be specified for backward compatibility with Active Directory Federation Service (AD FS) version 1.0.

Applies to