SecurityTokenProvider.EndGetTokenCore(IAsyncResult) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
完成异步操作以获取安全令牌。
protected:
virtual System::IdentityModel::Tokens::SecurityToken ^ EndGetTokenCore(IAsyncResult ^ result);
protected virtual System.IdentityModel.Tokens.SecurityToken EndGetTokenCore(IAsyncResult result);
abstract member EndGetTokenCore : IAsyncResult -> System.IdentityModel.Tokens.SecurityToken
override this.EndGetTokenCore : IAsyncResult -> System.IdentityModel.Tokens.SecurityToken
Protected Overridable Function EndGetTokenCore (result As IAsyncResult) As SecurityToken
参数
- result
- IAsyncResult
调用 IAsyncResult 方法返回的 BeginGetTokenCore(TimeSpan, AsyncCallback, Object) 项。
返回
表示 SecurityToken 安全令牌的标记。
注解
从 SecurityTokenProvider 类继承时,不需要重写异步方法,因为 SecurityTokenProvider 基类基于同步方法提供异步支持。 因此,无需重写 EndGetTokenCore 该方法,除非必须提供自己的异步实现。
该方法 EndGetToken 调用该方法 EndGetTokenCore 。