WorkflowUnhandledExceptionAction 枚举

定义

一个枚举,指定当工作流中出现未经处理的异常时要执行的操作。An enumeration that specifies the action to perform when an unhandled exception occurs within a workflow.

public enum class WorkflowUnhandledExceptionAction
public enum WorkflowUnhandledExceptionAction
type WorkflowUnhandledExceptionAction = 
Public Enum WorkflowUnhandledExceptionAction
继承
WorkflowUnhandledExceptionAction

字段

Abandon 0

放弃工作流实例。Abandons the workflow instance.

AbandonAndSuspend 3

放弃工作流实例并将最后保留的状态标记为挂起。Abandons the workflow instance and marks the last persisted state as suspended. 如果找不到最后保留的实例,则中止工作流实例。If there is no last persisted instance can be found, the workflow instance is aborted.

Cancel 1

取消工作流实例。Cancels the workflow instance.

Terminate 2

终止工作流实例。Terminates the workflow instance. 实例状态为 CompleteThe instance state is Complete.

适用于