Thread.ExecutionContext 屬性

定義

取得 ExecutionContext 一個包含當前執行緒各種上下文資訊的物件。

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

屬性值

一個 ExecutionContext 整合當前執行緒上下文資訊的物件。

備註

這個 ExecutionContext 類別提供一個容器,存放所有與邏輯執行緒相關的資訊。 這包括安全情境、通話情境、同步情境、本地化情境以及交易情境。

適用於