Compartir vía


CompositeActivity.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 public:
 override System::Workflow::ComponentModel::ActivityExecutionStatus HandleFault(System::Workflow::ComponentModel::ActivityExecutionContext ^ executionContext, Exception ^ exception);
protected internal 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 Friend 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 provocó este error.

Devoluciones

ActivityExecutionStatus

ActivityExecutionStatus que se origina de un intento de cancelar esta instancia.

Excepciones

executionContext es una referencia nula (Nothing en Visual Basic).

O bien

exception es una referencia nula (Nothing en Visual Basic).

Se aplica a