DebugController 类

定义

警告

此 API 现已过时。

将工作流实例的创建、执行和终止事件中继到调试器进程。Relays workflow instance creation, execution and termination events to the debugger process. 此类不能被继承。This class cannot be inherited.

public ref class DebugController sealed : 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
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.

在工作流主机应用程序中运行的此类的实例。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)

创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。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()

检索控制此实例的生存期策略的当前生存期服务对象。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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于