IAsyncContext<T> Interface
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.
Fournit l’accès au contexte asynchrone actuel. Certaines implémentations de cette interface peuvent ne pas être thread safe.
generic <typename T>
public interface class IAsyncContext
public interface IAsyncContext<T>
type IAsyncContext<'T> = interface
Public Interface IAsyncContext(Of T)
Paramètres de type
- T
Type de l’état asynchrone.
Méthodes
| Get() |
Obtient le contexte asynchrone actuel. |
| Set(T) |
Définit un contexte asynchrone. |
| TryGet(T) |
Tente d’obtenir le contexte asynchrone actuel. |