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
屬性

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

一個工作流程實例可能以三種方式之一被暫停:主機可能呼叫 WorkflowInstance.Suspend,或 SuspendActivity 從實例內部呼叫活動,或是工作流程執行引擎可能暫停該實例。 當工作流實例被暫停時,工作流執行引擎會將 WorkflowRuntime.WorkflowSuspended 事件發生。 主機可透過加入事件處理程序訂閱 WorkflowRuntime.WorkflowSuspended此事件。

屬性

名稱 Description
Error
已淘汰.

會取得為什麼工作流程實例被暫停的說明。

WorkflowInstance
已淘汰.

取得與工作流程事件相關的工作流程實例。

(繼承來源 WorkflowEventArgs)

方法

名稱 Description
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於