SecurityTokenProvider.BeginRenewToken Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins an asynchronous operation that renews a security token.
public:
IAsyncResult ^ BeginRenewToken(TimeSpan timeout, System::IdentityModel::Tokens::SecurityToken ^ tokenToBeRenewed, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginRenewToken (TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken tokenToBeRenewed, AsyncCallback callback, object state);
member this.BeginRenewToken : TimeSpan * System.IdentityModel.Tokens.SecurityToken * AsyncCallback * obj -> IAsyncResult
Public Function BeginRenewToken (timeout As TimeSpan, tokenToBeRenewed As SecurityToken, callback As AsyncCallback, state As Object) As IAsyncResult
- 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.
The IAsyncResult that references the asynchronous operation.
The BeginRenewToken method calls the BeginRenewTokenCore method.
The asynchronous methods, which have a prefix of Begin and End, do not need to be overridden in derived classes. The SecurityTokenProvider base class provides an asynchronous implementation that is based on the synchronous methods.
Продукт | Версии |
---|---|
.NET | 8 (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 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: