System.Threading.ExecutionContext: Method Members

The methods of System.Threading.ExecutionContext are listed below. For a list of all members, see the ExecutionContext Members list.

See Also: Inherited members from System.Object

Public Methods

static
Capture() : ExecutionContext

Captures the execution context from the current thread.

CreateCopy() : ExecutionContext

Creates a copy of the current execution context.

Dispose()

Releases all resources used by the current instance of the System.Threading.ExecutionContext class.

GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Sets the specified System.Runtime.Serialization.SerializationInfo object with the logical context information needed to recreate an instance of the current execution context.

static
IsFlowSuppressed() : bool

Indicates whether the flow of the execution context is currently suppressed.

static
RestoreFlow()

Restores the flow of the execution context across asynchronous threads.

static
Run(ExecutionContext, ContextCallback, object)

Runs a method in a specified execution context on the current thread.

static
SuppressFlow() : AsyncFlowControl

Suppresses the flow of the execution context across asynchronous threads.