SecurityTokenService.BeginIssue 方法

定义

在派生类中重写时,开始异步 WS 信任发布请求。

public:
 virtual IAsyncResult ^ BeginIssue(System::Security::Claims::ClaimsPrincipal ^ principal, System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginIssue (System.Security.Claims.ClaimsPrincipal principal, System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state);
abstract member BeginIssue : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginIssue : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginIssue (principal As ClaimsPrincipal, request As RequestSecurityToken, callback As AsyncCallback, state As Object) As IAsyncResult

参数

principal
ClaimsPrincipal

一个 ClaimsPrincipal,表示令牌请求者的标识。

request
RequestSecurityToken

一个 RequestSecurityToken,表示安全令牌请求。 这包括请求消息和其他客户端相关信息,如授权上下文。

callback
AsyncCallback

接收异步问题操作完成通知的 AsyncCallback 委托。

state
Object

一个包含与异步发布操作关联的状态信息的对象。

返回

引用异步问题操作的 IAsyncResult

注解

此方法的默认实现将 InvalidRequestException引发 。

适用于