WorkflowRuntime.WorkflowIdled 事件

定義

當工作流程實例進入閒置狀態時,會發生這種情況。

public:
 event EventHandler<System::Workflow::Runtime::WorkflowEventArgs ^> ^ WorkflowIdled;
public event EventHandler<System.Workflow.Runtime.WorkflowEventArgs> WorkflowIdled;
member this.WorkflowIdled : EventHandler<System.Workflow.Runtime.WorkflowEventArgs> 
Public Custom Event WorkflowIdled As EventHandler(Of WorkflowEventArgs) 
Public Event WorkflowIdled As EventHandler(Of WorkflowEventArgs) 

事件類型

備註

當工作流程實例進入閒置狀態時,工作流程執行時引擎會 WorkflowIdled 觸發事件;例如,當工作流程等待 DelayActivity 活動完成時。

對於此事件,發送者包含 ,WorkflowRuntimeWorkflowEventArgs且包含與該事件相關的 。WorkflowInstance

欲了解更多有關事件處理的資訊,請參閱「事件處理與提升」。

適用於