ExecutionContext::Capture Method ()
.NET Framework (current version)
Captures the execution context from the current thread.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System.Threading::ExecutionContext^An ExecutionContext object representing the execution context for the current thread.
The captured execution context can be used as the executionContext parameter for the Run method.
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: