CompositeActivity.HandleFault(ActivityExecutionContext, Exception) 메서드

정의

이 인스턴스의 실행 컨텍스트 내에서 예외가 발생할 때 호출됩니다.Called when an exception is raised within the context of the execution of this instance.

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

매개 변수

executionContext
ActivityExecutionContext

이 인스턴스에 대한 ActivityExecutionContext입니다.The ActivityExecutionContext for this instance.

exception
Exception

이 오류를 발생시킨 Exception입니다.The Exception that caused this fault.

반환

이 인스턴스를 취소할 때 발생하는 ActivityExecutionStatus입니다.The ActivityExecutionStatus that results from an attempt to cancel this instance.

예외

executionContext이 null 참조(Visual Basic의 경우 Nothing)인 경우executionContext is a null reference (Nothing in Visual Basic).

또는-or-

exception이 null 참조(Visual Basic의 경우 Nothing)인 경우exception is a null reference (Nothing in Visual Basic).

적용 대상