SignInResponseMessage 构造函数

定义

初始化 SignInResponseMessage 类的新实例。Initializes a new instance of the SignInResponseMessage class.

重载

SignInResponseMessage(Uri, String)

使用指定的基础 URL 和参数初始化 SignInResponseMessage 类的新实例。Initializes a new instance of the SignInResponseMessage class with the specified base URL and wresult parameter.

SignInResponseMessage(Uri, Uri)

初始化使用指定基 URL 和 wresultptr 参数的 SignInResponseMessage 类的新实例。Initializes an instance of the SignInResponseMessage class using the specified base URL and wresultptr parameter.

SignInResponseMessage(Uri, RequestSecurityTokenResponse, WSFederationSerializer, WSTrustSerializationContext)

使用指定的基 URL、响应消息对象、联合序列化程序和序列化上下文来初始化 SignInResponseMessage 类的新实例。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)

使用指定的基础 URL 和参数初始化 SignInResponseMessage 类的新实例。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)

参数

baseUrl
Uri

签名响应消息应用的基 URL。The base URL to which the Sign-In Response message applies.

result
String

消息中 wresult 的参数。The wresult parameter in the message.

例外

resultnull 或空。result is null or empty.

适用于

SignInResponseMessage(Uri, Uri)

初始化使用指定基 URL 和 wresultptr 参数的 SignInResponseMessage 类的新实例。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)

参数

baseUrl
Uri

签名响应消息应用的基 URL。The base URL to which the Sign-In Response message applies.

resultPtr
Uri

消息中 wresultptr 的参数。The wresultptr parameter in the message.

例外

resultPtrnullresultPtr is null.

适用于

SignInResponseMessage(Uri, RequestSecurityTokenResponse, WSFederationSerializer, WSTrustSerializationContext)

使用指定的基 URL、响应消息对象、联合序列化程序和序列化上下文来初始化 SignInResponseMessage 类的新实例。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)

参数

baseUrl
Uri

签名响应消息应用的基 URL。The base URL to which the sign-in response message applies.

federationSerializer
WSFederationSerializer

用来序列化响应的 WSFederationSerializerThe WSFederationSerializer to use to serialize the response.

context
WSTrustSerializationContext

包含序列化的上下文的 WSTrustSerializationContextThe WSTrustSerializationContext that contains the context for the serialization.

例外

baseUrlnullbaseUrl is null.

-or- ResponsenullResponse is null.

-or- federationSerializernullfederationSerializer is null.

-or- contextnullcontext is null.

适用于