Compartilhar via


SequenceActivity.HandleFault(ActivityExecutionContext, Exception) Método

Definição

Chamado quando uma exceção é gerada dentro do contexto da execução desta instância.

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

O ActivityExecutionContext para essa instância.

exception
Exception

O Exception que causou esta falha.

Retornos

ActivityExecutionStatus

O status da execução da atividade.

Aplica-se a