Langue

IAsyncState.Get(AsyncStateToken) Méthode

Définition

Obtient le contexte asynchrone stocké à partir de l’état.

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

Paramètres

token
AsyncStateToken

Jeton représentant l’état à extraire.

Retours

État asynchrone correspondant au jeton.

Exceptions

Le contexte n’est pas initialisé.

S’applique à