WorkflowRuntime.Started 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當工作流程執行引擎啟動時發生。
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的每個服務所實作的方法,並將 設定WorkflowRuntimeService為 IsStarted後,才會提出事件。true 對於從該 WorkflowRuntimeService 類別衍生出的服務由工作流程執行引擎啟動的順序無法保證,而部分工作流程執行時引擎服務可能依賴其他服務提供的功能來完成啟動任務。 當事件被提出時,工作流程執行時引擎服務可以覆寫 WorkflowRuntimeService.OnStarted 執行任何需要其他執行時引擎服務 Started 支援的最終啟動任務的方法。
欲了解更多有關事件處理的資訊,請參閱「事件處理與提升」。