WorkflowTerminatedEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
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
- 繼承
- 屬性
備註
Note
此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的
工作流程實例可能以三種方式終止:主機可能呼叫 WorkflowInstance.Terminate,或 TerminateActivity 從實例內部呼叫活動,或因未處理異常而由執行執行引擎終止實例。 當工作流程實例終止時,工作流程執行引擎會將 WorkflowRuntime.WorkflowTerminated 事件發生。 主機可透過加入事件處理程序訂閱 WorkflowRuntime.WorkflowTerminated此事件。
屬性
| 名稱 | Description |
|---|---|
| Exception |
已淘汰.
會觸發導致工作流程實例終止的例外。 |
| WorkflowInstance |
已淘汰.
取得與工作流程事件相關的工作流程實例。 (繼承來源 WorkflowEventArgs) |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
已淘汰.
做為預設哈希函式。 (繼承來源 Object) |
| GetType() |
已淘汰.
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
已淘汰.
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
已淘汰.
傳回表示目前 物件的字串。 (繼承來源 Object) |