SignInRequestMessage Constructor (Uri, String, String)

.NET Framework (current version)
 

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.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public SignInRequestMessage(
	Uri baseUrl,
	string realm,
	string reply
)

Parameters

baseUrl
Type: System.Uri

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

realm
Type: System.String

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

reply
Type: System.String

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

Exception Condition
ArgumentNullException

Both realm and reply are null or an empty string.

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.

.NET Framework
Available since 4.5
Return to top
Show: