SecurityTokenProvider.BeginRenewTokenCore Method

Definition

Begins an asynchronous operation that renews a security token.

C#
protected virtual IAsyncResult BeginRenewTokenCore(TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken tokenToBeRenewed, AsyncCallback callback, object state);

Parameters

timeout
TimeSpan

A TimeSpan that specifies the timeout value for the message that renews the security token.

tokenToBeRenewed
SecurityToken

The SecurityToken to renew.

callback
AsyncCallback

The AsyncCallback delegate that receives notification of the completion of the asynchronous close operation.

state
Object

An object, specified by the application, that contains state information associated with the asynchronous close operation.

Returns

The IAsyncResult that references the asynchronous operation.

Remarks

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 BeginRenewTokenCore method, unless you must provide your own asynchronous implementation.

The BeginRenewToken method calls the BeginRenewTokenCore method.

Applies to

Product Versions
.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)