ExecutionContext.Capture Methode

Definition

Zeichnet den Ausführungskontext des aktuellen Threads auf.

public:
 static System::Threading::ExecutionContext ^ Capture();
public static System.Threading.ExecutionContext Capture ();
public static System.Threading.ExecutionContext? Capture ();
static member Capture : unit -> System.Threading.ExecutionContext
Public Shared Function Capture () As ExecutionContext

Gibt zurück

ExecutionContext

Ein ExecutionContext-Objekt, das den Ausführungskontext für den aktuellen Thread darstellt.

Hinweise

Der erfasste Ausführungskontext kann als executionContext Parameter für die Run Methode verwendet werden.

Gilt für