IAsyncState.RegisterAsyncContext 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.
Inscrit un nouveau contexte asynchrone avec l’état .
public:
Microsoft::Extensions::AsyncState::AsyncStateToken RegisterAsyncContext();
public Microsoft.Extensions.AsyncState.AsyncStateToken RegisterAsyncContext();
abstract member RegisterAsyncContext : unit -> Microsoft.Extensions.AsyncState.AsyncStateToken
Public Function RegisterAsyncContext () As AsyncStateToken
Retours
Jeton qui donne accès au contexte réservé.