SignInResponseMessage Constructors
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 SignInResponseMessage class.
Overloads
SignInResponseMessage(Uri, String) |
Initializes a new instance of the SignInResponseMessage class with the specified base URL and wresult parameter. |
SignInResponseMessage(Uri, Uri) |
Initializes an instance of the SignInResponseMessage class using the specified base URL and wresultptr parameter. |
SignInResponseMessage(Uri, RequestSecurityTokenResponse, WSFederationSerializer, WSTrustSerializationContext) |
Initializes a new instance of the SignInResponseMessage class by using the specified base URL, response message object, federation serializer, and serialization context. |
SignInResponseMessage(Uri, String)
Initializes a new instance of the SignInResponseMessage class with the specified base URL and wresult parameter.
public:
SignInResponseMessage(Uri ^ baseUrl, System::String ^ result);
public SignInResponseMessage (Uri baseUrl, string result);
new System.IdentityModel.Services.SignInResponseMessage : Uri * string -> System.IdentityModel.Services.SignInResponseMessage
Public Sub New (baseUrl As Uri, result As String)
Parameters
- baseUrl
- Uri
The base URL to which the Sign-In Response message applies.
- result
- String
The wresult parameter in the message.
Exceptions
result
is null
or empty.
Applies to
SignInResponseMessage(Uri, Uri)
Initializes an instance of the SignInResponseMessage class using the specified base URL and wresultptr parameter.
public:
SignInResponseMessage(Uri ^ baseUrl, Uri ^ resultPtr);
public SignInResponseMessage (Uri baseUrl, Uri resultPtr);
new System.IdentityModel.Services.SignInResponseMessage : Uri * Uri -> System.IdentityModel.Services.SignInResponseMessage
Public Sub New (baseUrl As Uri, resultPtr As Uri)
Parameters
- baseUrl
- Uri
The base URL to which the Sign-In Response message applies.
- resultPtr
- Uri
The wresultptr parameter in the message.
Exceptions
resultPtr
is null
.
Applies to
SignInResponseMessage(Uri, RequestSecurityTokenResponse, WSFederationSerializer, WSTrustSerializationContext)
Initializes a new instance of the SignInResponseMessage class by using the specified base URL, response message object, federation serializer, and serialization context.
public:
SignInResponseMessage(Uri ^ baseUrl, System::IdentityModel::Protocols::WSTrust::RequestSecurityTokenResponse ^ response, System::IdentityModel::Services::WSFederationSerializer ^ federationSerializer, System::IdentityModel::Protocols::WSTrust::WSTrustSerializationContext ^ context);
public SignInResponseMessage (Uri baseUrl, System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse response, System.IdentityModel.Services.WSFederationSerializer federationSerializer, System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext context);
new System.IdentityModel.Services.SignInResponseMessage : Uri * System.IdentityModel.Protocols.WSTrust.RequestSecurityTokenResponse * System.IdentityModel.Services.WSFederationSerializer * System.IdentityModel.Protocols.WSTrust.WSTrustSerializationContext -> System.IdentityModel.Services.SignInResponseMessage
Public Sub New (baseUrl As Uri, response As RequestSecurityTokenResponse, federationSerializer As WSFederationSerializer, context As WSTrustSerializationContext)
Parameters
- baseUrl
- Uri
The base URL to which the sign-in response message applies.
- response
- RequestSecurityTokenResponse
The RequestSecurityTokenResponse to be returned.
- federationSerializer
- WSFederationSerializer
The WSFederationSerializer to use to serialize the response.
- context
- WSTrustSerializationContext
The WSTrustSerializationContext that contains the context for the serialization.
Exceptions
baseUrl
is null
.
-or-
Response
is null
.
-or-
federationSerializer
is null
.
-or-
context
is null
.