WorkflowRuntime.WorkflowCreated 事件

定義

當建立工作流程實例時會發生。

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

事件類型

備註

工作流程執行時引擎會在 WorkflowCreated 工作流程實例完全建構後、活動處理前提出事件。 對於此事件,發送者包含 ,WorkflowRuntimeWorkflowEventArgs且包含與該事件相關的 。WorkflowInstance

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

適用於