IAsyncState.Get(AsyncStateToken) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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é.