Прочетете на английски Редактиране

Споделяне чрез


WorkflowTerminatedException Constructors

Definition

Initializes a new instance of the WorkflowTerminatedException class.

Overloads

WorkflowTerminatedException()

Initializes a new instance of the WorkflowTerminatedException class.

WorkflowTerminatedException(String)

Initializes a new instance of the WorkflowTerminatedException class, with a specified error message.

WorkflowTerminatedException(String, 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()

Initializes a new instance of the WorkflowTerminatedException class.

C#
public WorkflowTerminatedException();

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WorkflowTerminatedException(String)

Initializes a new instance of the WorkflowTerminatedException class, with a specified error message.

C#
public WorkflowTerminatedException(string message);

Parameters

message
String

The message that describes the error.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

WorkflowTerminatedException(String, 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 .

C#
public WorkflowTerminatedException(string message, Exception exception);

Parameters

message
String

The message that describes the error.

exception
Exception

The inner Exception reference.

Applies to

.NET Framework 4.8.1 и други версии
Продукт Версии
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1