SecurityTokenProvider.BeginRenewToken Metoda

Definice

Zahájí asynchronní operaci, která obnoví token zabezpečení.

public:
 IAsyncResult ^ BeginRenewToken(TimeSpan timeout, System::IdentityModel::Tokens::SecurityToken ^ tokenToBeRenewed, AsyncCallback ^ callback, System::Object ^ state);
public:
 IAsyncResult ^ BeginRenewToken(TimeSpan timeout, System::IdentityModel::Tokens::SecurityToken ^ token, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginRenewToken (TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken tokenToBeRenewed, AsyncCallback callback, object state);
public IAsyncResult BeginRenewToken (TimeSpan timeout, System.IdentityModel.Tokens.SecurityToken token, AsyncCallback callback, object state);
member this.BeginRenewToken : TimeSpan * System.IdentityModel.Tokens.SecurityToken * AsyncCallback * obj -> IAsyncResult
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
Public Function BeginRenewToken (timeout As TimeSpan, token As SecurityToken, callback As AsyncCallback, state As Object) As IAsyncResult

Parametry

timeout
TimeSpan

Hodnota TimeSpan časového limitu pro zprávu, která obnovuje token zabezpečení, určuje hodnotu časového limitu.

tokenToBeRenewedtoken
SecurityToken

Prodloužení SecurityToken platnosti.

callback
AsyncCallback

AsyncCallback Delegát, který obdrží oznámení o dokončení asynchronní operace uzavření.

state
Object

Objekt určený aplikací, který obsahuje informace o stavu přidružené k asynchronní operaci uzavření.

Návraty

IAsyncResult

Odkaz IAsyncResult na asynchronní operaci.

Poznámky

Metoda BeginRenewToken volá metodu BeginRenewTokenCore .

Poznámky pro dědice

Asynchronní metody, které mají předponu Begin a End, nemusí být přepsány v odvozených třídách. Základní SecurityTokenProvider třída poskytuje asynchronní implementaci založenou na synchronních metodách.

Platí pro