DebugController 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

轉送工作流程執行個體的建立、執行和終止事件至偵錯工具處理序。Relays workflow instance creation, execution and termination events to the debugger process. 此類別無法獲得繼承。This class cannot be inherited.

public ref class DebugController sealed : MarshalByRefObject
public sealed class DebugController : MarshalByRefObject
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class DebugController : MarshalByRefObject
type DebugController = class
    inherit MarshalByRefObject
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type DebugController = class
    inherit MarshalByRefObject
Public NotInheritable Class DebugController
Inherits MarshalByRefObject
繼承
DebugController
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。This material discusses types and namespaces that are obsolete. 如需詳細資訊,請參閱 Windows Workflow Foundation 4.5 中即將淘汰的類型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

此類別的執行個體在工作流程主應用程式 (Host Application) 中執行。An instance of this class runs in the workflow host application. 如果啟用工作流程偵錯,則由 WorkflowRuntime 建立。It is created by WorkflowRuntime if workflow debugging is enabled.

方法

AttachToConduit(Uri)

在執行於工作流程主應用程式的 DebugController 物件和偵錯工具處理序之間建立通訊通道。Establishes the communication channel between the DebugController object running in the workflow host application and the debugger process.

CreateObjRef(Type)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(繼承來源 MarshalByRefObject)
Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetLifetimeService()
已過時。

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(繼承來源 MarshalByRefObject)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
InitializeLifetimeService()

建立 DebugController 物件的存留期租用期。Establishes a lifetime lease for the DebugController object.

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。Creates a shallow copy of the current MarshalByRefObject object.

(繼承來源 MarshalByRefObject)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

適用於