Edit

Share via


WorkflowRuntime.WorkflowCreated Event

Definition

Occurs when a workflow instance is created.

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) 

Event Type

Remarks

The workflow run-time engine raises the WorkflowCreated event after the workflow instance is completely constructed but before activities are processed. For this event, the sender contains the WorkflowRuntime and WorkflowEventArgs contains the WorkflowInstance associated with the event.

For more information about handling events, see Handling and raising events.

Applies to