Share via


IAsyncContext<T>.TryGet(T) Méthode

Définition

Tente d’obtenir le contexte asynchrone actuel.

public:
 bool TryGet([Runtime::InteropServices::Out] T % context);
public bool TryGet (out T? context);
abstract member TryGet : 'T -> bool
Public Function TryGet (ByRef context As T) As Boolean

Paramètres

context
T

Reçoit le contexte.

Retours

true si le contexte est initialisé ; sinon, false.

S’applique à