WorkflowRuntime.WorkflowAborted Evento

Definición

Se produce cuando se anula una instancia de flujo de trabajo.

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

Tipo de evento

Comentarios

WorkflowAborted se produce después de borrar todo el trabajo pendiente para la instancia de flujo de trabajo, pero antes de que la instancia de flujo de trabajo se invalide en la memoria. Puede anular una instancia de flujo de trabajo llamando a WorkflowInstance.Abort.

Para este evento, el remitente contiene y WorkflowRuntimeWorkflowEventArgs contiene el WorkflowInstance asociado al evento .

Para obtener más información sobre el control de eventos, consulte Control y generación de eventos.

Se aplica a