Comparteix a través de


SequenceActivity.HandleFault(ActivityExecutionContext, Exception) Método

Definición

Llamado cuando se produce una excepción dentro del contexto de la ejecución de esta instancia.

protected:
 override System::Workflow::ComponentModel::ActivityExecutionStatus HandleFault(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext, Exception ^ exception);
protected override System.Workflow.ComponentModel.ActivityExecutionStatus HandleFault (System.Workflow.ComponentModel.ActivityExecutionContext executionContext, Exception exception);
override this.HandleFault : System.Workflow.ComponentModel.ActivityExecutionContext * Exception -> System.Workflow.ComponentModel.ActivityExecutionStatus
Protected Overrides Function HandleFault (executionContext As ActivityExecutionContext, exception As Exception) As ActivityExecutionStatus

Parámetros

executionContext
ActivityExecutionContext

El objeto ActivityExecutionContext para esta instancia.

exception
Exception

Exception que produjo este error.

Devoluciones

ActivityExecutionStatus

El estado de ejecución de la actividad.

Se aplica a