共用方式為


HostExecutionContext.State 屬性

定義

取得或設定主機執行上下文的狀態。

protected public:
 property System::Object ^ State { System::Object ^ get(); void set(System::Object ^ value); };
protected internal object? State { get; set; }
protected internal object State { get; set; }
member this.State : obj with get, set
Protected Friend Property State As Object

屬性值

一個代表主機執行上下文狀態的物件。

備註

State屬性值代表一個安全的 handle,包含IUnknown主機的指標。

適用於