Прочетете на английски Редактиране

Споделяне чрез


SecurityTokenProvider.EndCancelTokenCore(IAsyncResult) Method

Definition

Completes an asynchronous operation to cancel a security token.

C#
protected virtual void EndCancelTokenCore(IAsyncResult result);

Parameters

Remarks

A security token that can be cancelled, such as one that is issued, allows a client that requested a security token to cancel it when it is done with it.

When you inherit from the SecurityTokenProvider class you are not required to override the asynchronous methods, as the SecurityTokenProvider base class provides asynchronous support based upon the synchronous methods. Therefore, you are not required to override the EndCancelTokenCore method, unless you must provide your own asynchronous implementation.

The EndCancelToken method calls EndCancelTokenCore method.

Applies to

Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)