WorkflowRuntime.Started 事件

定義

當工作流程執行引擎啟動時發生。

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

事件類型

備註

StartRuntime該方法在驗證工作流程執行引擎的核心服務配置、調用Started由該類別衍生Start的每個服務所實作的方法,並將 設定WorkflowRuntimeServiceIsStarted後,才會提出事件。true 對於從該 WorkflowRuntimeService 類別衍生出的服務由工作流程執行引擎啟動的順序無法保證,而部分工作流程執行時引擎服務可能依賴其他服務提供的功能來完成啟動任務。 當事件被提出時,工作流程執行時引擎服務可以覆寫 WorkflowRuntimeService.OnStarted 執行任何需要其他執行時引擎服務 Started 支援的最終啟動任務的方法。

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

適用於