HostExecutionContext 類別

定義

在執行緒之間封裝及散佈主應用程式執行內容。

public ref class HostExecutionContext : IDisposable
public ref class HostExecutionContext
public class HostExecutionContext : IDisposable
public class HostExecutionContext
type HostExecutionContext = class
    interface IDisposable
type HostExecutionContext = class
Public Class HostExecutionContext
Implements IDisposable
Public Class HostExecutionContext
繼承
HostExecutionContext
實作

備註

HostExecutionContext是較大 ExecutionContext 的一部分。 主機內容會隨著執行內容移轉或流程。

建構函式

HostExecutionContext()

初始化 HostExecutionContext 類別的新執行個體。

HostExecutionContext(Object)

使用指定的狀態來初始化 HostExecutionContext 類別的新執行個體。

屬性

State

取得或設定主應用程式執行內容的狀態。

方法

CreateCopy()

建立目前主應用程式執行內容的複本。

Dispose()

釋放 HostExecutionContext 類別目前的執行個體所使用的全部資源。

Dispose(Boolean)

當在衍生類別中覆寫時,釋放 WaitHandle 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於