Rediger

Del via


Thread.ExecutionContext Property

Definition

Gets an ExecutionContext object that contains information about the various contexts of the current thread.

public:
 property System::Threading::ExecutionContext ^ ExecutionContext { System::Threading::ExecutionContext ^ get(); };
public System.Threading.ExecutionContext? ExecutionContext { get; }
public System.Threading.ExecutionContext ExecutionContext { get; }
member this.ExecutionContext : System.Threading.ExecutionContext
Public ReadOnly Property ExecutionContext As ExecutionContext

Property Value

An ExecutionContext object that consolidates context information for the current thread.

Remarks

The ExecutionContext class provides a single container for all information relevant to a logical thread of execution. This includes security context, call context, synchronization context, localization context, and transaction context.

Applies to