WorkflowRuntime.WorkflowCreated Evento

Definizione

Si verifica quando viene creata un'istanza del flusso di lavoro.

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) 

Tipo evento

Commenti

Il motore di runtime del flusso di lavoro genera l'evento WorkflowCreated dopo la costruzione completa dell'istanza del flusso di lavoro, ma prima dell'elaborazione delle attività. Per questo evento, il mittente contiene WorkflowRuntime e WorkflowEventArgs contiene l'oggetto WorkflowInstance associato all'evento.

Per altre informazioni sulla gestione degli eventi, vedere Gestione e generazione di eventi.

Si applica a