WorkflowTerminatedException 构造函数

定义

初始化 WorkflowTerminatedException 类的新实例。Initializes a new instance of the WorkflowTerminatedException class.

重载

WorkflowTerminatedException()

初始化 WorkflowTerminatedException 类的新实例。Initializes a new instance of the WorkflowTerminatedException class.

WorkflowTerminatedException(String)

使用指定的错误消息初始化 WorkflowTerminatedException 类的新实例。Initializes a new instance of the WorkflowTerminatedException class, with a specified error message.

WorkflowTerminatedException(String, Exception)

使用指定错误消息和对导致此 WorkflowTerminatedException 的内部 Exception 的引用来初始化 Exception 类的新实例。Initializes a new instance of the WorkflowTerminatedException class, with a specified error message and a reference to the inner Exception that is the cause of this Exception .

WorkflowTerminatedException()

初始化 WorkflowTerminatedException 类的新实例。Initializes a new instance of the WorkflowTerminatedException class.

public:
 WorkflowTerminatedException();
public WorkflowTerminatedException ();
Public Sub New ()

适用于

WorkflowTerminatedException(String)

使用指定的错误消息初始化 WorkflowTerminatedException 类的新实例。Initializes a new instance of the WorkflowTerminatedException class, with a specified error message.

public:
 WorkflowTerminatedException(System::String ^ message);
public WorkflowTerminatedException (string message);
new System.Workflow.ComponentModel.WorkflowTerminatedException : string -> System.Workflow.ComponentModel.WorkflowTerminatedException
Public Sub New (message As String)

参数

message
String

描述错误的消息。The message that describes the error.

适用于

WorkflowTerminatedException(String, Exception)

使用指定错误消息和对导致此 WorkflowTerminatedException 的内部 Exception 的引用来初始化 Exception 类的新实例。Initializes a new instance of the WorkflowTerminatedException class, with a specified error message and a reference to the inner Exception that is the cause of this Exception .

public:
 WorkflowTerminatedException(System::String ^ message, Exception ^ exception);
public WorkflowTerminatedException (string message, Exception exception);
new System.Workflow.ComponentModel.WorkflowTerminatedException : string * Exception -> System.Workflow.ComponentModel.WorkflowTerminatedException
Public Sub New (message As String, exception As Exception)

参数

message
String

描述错误的消息。The message that describes the error.

exception
Exception

内部 Exception 引用。The inner Exception reference.

适用于