System.Threading.ExecutionContext.CreateCopy Method

Creates a copy of the current execution context.

Syntax

public ExecutionContext CreateCopy ()

Returns

An System.Threading.ExecutionContext object representing the current execution context.

Remarks

This method is useful for propagating an execution context from one thread to another.

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0