SecurityTokenService.BeginRenew 方法

定义

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

public:
 virtual IAsyncResult ^ BeginRenew(System::Security::Claims::ClaimsPrincipal ^ principal, System::IdentityModel::Protocols::WSTrust::RequestSecurityToken ^ request, AsyncCallback ^ callback, System::Object ^ state);
public virtual IAsyncResult BeginRenew (System.Security.Claims.ClaimsPrincipal principal, System.IdentityModel.Protocols.WSTrust.RequestSecurityToken request, AsyncCallback callback, object state);
abstract member BeginRenew : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
override this.BeginRenew : System.Security.Claims.ClaimsPrincipal * System.IdentityModel.Protocols.WSTrust.RequestSecurityToken * AsyncCallback * obj -> IAsyncResult
Public Overridable Function BeginRenew (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引发 。

适用于