WorkflowSuspendedEventArgs 类

定义

注意

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

提供事件的数据 WorkflowSuspended

public ref class WorkflowSuspendedEventArgs : System::Workflow::Runtime::WorkflowEventArgs
public class WorkflowSuspendedEventArgs : System.Workflow.Runtime.WorkflowEventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class WorkflowSuspendedEventArgs : System.Workflow.Runtime.WorkflowEventArgs
type WorkflowSuspendedEventArgs = class
    inherit WorkflowEventArgs
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type WorkflowSuspendedEventArgs = class
    inherit WorkflowEventArgs
Public Class WorkflowSuspendedEventArgs
Inherits WorkflowEventArgs
继承
WorkflowSuspendedEventArgs
属性

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

可以通过以下三种方式之一暂停工作流实例:主机可以调用 WorkflowInstance.SuspendSuspendActivity 可从工作流实例内部调用活动,或者工作流运行时引擎可能会挂起工作流实例。 当工作流实例挂起时,工作流运行时引擎将 WorkflowRuntime.WorkflowSuspended 引发该事件。 主机可以通过将事件处理程序添加到此事件来 WorkflowRuntime.WorkflowSuspended订阅此事件。

属性

名称 说明
Error
已过时.

获取工作流实例暂停的原因的说明。

WorkflowInstance
已过时.

获取与工作流事件关联的工作流实例。

(继承自 WorkflowEventArgs)

方法

名称 说明
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于