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.5 中即將淘汰的類型

工作流程執行個體可能以下列三種方式之一暫止:主機呼叫 WorkflowInstance.Suspend、從工作流程執行個體內叫用 SuspendActivity 活動,或工作流程執行階段引擎可能暫止工作流程執行個體。 工作流程執行個體暫止時,工作流程執行階段引擎會引發 WorkflowRuntime.WorkflowSuspended 事件。 主機會加入事件處理常式到 WorkflowRuntime.WorkflowSuspended,以訂閱此事件。

屬性

Error
已淘汰.

取得工作流程執行個體暫止原因的描述。

WorkflowInstance
已淘汰.

取得與工作流程事件關聯的工作流程執行個體。

(繼承來源 WorkflowEventArgs)

方法

Equals(Object)
已淘汰.

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

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

做為預設雜湊函式。

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

取得目前執行個體的 Type

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

建立目前 Object 的淺層複製。

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

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

(繼承來源 Object)

適用於