WorkflowTerminatedEventArgs 类

定义

注意

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

提供事件的数据 WorkflowTerminated

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

注解

注释

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

工作流实例可以通过以下三种方式之一WorkflowInstance.Terminate终止:主机可以调用TerminateActivity、可从工作流实例内部调用活动,或者工作流运行时引擎可能会因未经处理的异常而终止实例。 当工作流实例终止时,工作流运行时引擎将引发该 WorkflowRuntime.WorkflowTerminated 事件。 主机可以通过将事件处理程序添加到此事件来 WorkflowRuntime.WorkflowTerminated订阅此事件。

属性

名称 说明
Exception
已过时.

获取导致工作流实例终止的异常。

WorkflowInstance
已过时.

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

(继承自 WorkflowEventArgs)

方法

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

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

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

用作默认哈希函数。

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

获取当前实例的 Type

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

创建当前 Object的浅表副本。

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

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

(继承自 Object)

适用于