ExecutionContext.Capture Methode

Definitie

Legt de uitvoeringscontext van de huidige thread vast.

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

Retouren

Een ExecutionContext object dat de uitvoeringscontext voor de huidige thread vertegenwoordigt.

Opmerkingen

De vastgelegde uitvoeringscontext kan worden gebruikt als de executionContext parameter voor de Run methode.

Van toepassing op