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 与事件关联的事件。

有关处理事件的详细信息,请参阅 处理和引发事件

适用于