IAsyncState.Get(AsyncStateToken) Metodo

Definizione

Ottiene il contesto asincrono archiviato dallo stato .

public:
 System::Object ^ Get(Microsoft::Extensions::AsyncState::AsyncStateToken token);
public object? Get(Microsoft.Extensions.AsyncState.AsyncStateToken token);
abstract member Get : Microsoft.Extensions.AsyncState.AsyncStateToken -> obj
Public Function Get (token As AsyncStateToken) As Object

Parametri

token
AsyncStateToken

Token che rappresenta lo stato da estrarre.

Valori restituiti

Stato asincrono corrispondente al token.

Eccezioni

Il contesto non viene inizializzato.

Si applica a