SequenceActivity.HandleFault(ActivityExecutionContext, Exception) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
此实例的执行上下文中引发了异常时调用。
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
参数
- executionContext
- ActivityExecutionContext
此实例的 ActivityExecutionContext。
返回
活动的执行状态。