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.
例外
result 为 null 或空。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.
例外
resultPtr 为 null。resultPtr 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.
- response
- RequestSecurityTokenResponse
待返回的 RequestSecurityTokenResponse。The RequestSecurityTokenResponse to be returned.
- federationSerializer
- WSFederationSerializer
用来序列化响应的 WSFederationSerializer。The WSFederationSerializer to use to serialize the response.
- context
- WSTrustSerializationContext
包含序列化的上下文的 WSTrustSerializationContext。The WSTrustSerializationContext that contains the context for the serialization.
例外
baseUrl 为 null。baseUrl is null.
或-or-
Response 为 null。Response is null.
或-or-
federationSerializer 为 null。federationSerializer is null.
或-or-
context 为 null。context is null.