InvalidWorkflowException Constructors

Definition

Create a new instance of the InvalidWorkflowException class.

Overloads

InvalidWorkflowException()

Create a new instance of the InvalidWorkflowException class with default values.

InvalidWorkflowException(String)

Create a new instance of the InvalidWorkflowException class with the specified invalid workflow exception description.

InvalidWorkflowException(SerializationInfo, StreamingContext)

Create a new instance of the InvalidWorkflowException class with the specified serialization information and streaming context.

InvalidWorkflowException(String, Exception)

Create a new instance of the InvalidWorkflowException class with the specified invalid workflow exception description and inner exception.

InvalidWorkflowException()

Create a new instance of the InvalidWorkflowException class with default values.

C#
public InvalidWorkflowException();

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 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

InvalidWorkflowException(String)

Create a new instance of the InvalidWorkflowException class with the specified invalid workflow exception description.

C#
public InvalidWorkflowException(string message);

Parameters

message
String

A string description of the exception.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 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

InvalidWorkflowException(SerializationInfo, StreamingContext)

Create a new instance of the InvalidWorkflowException class with the specified serialization information and streaming context.

C#
protected InvalidWorkflowException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);

Parameters

info
SerializationInfo

The SerializationInfo that contains the serialized object data about the exception being thrown.

context
StreamingContext

The source and destination of the serialized stream.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 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

InvalidWorkflowException(String, Exception)

Create a new instance of the InvalidWorkflowException class with the specified invalid workflow exception description and inner exception.

C#
public InvalidWorkflowException(string message, Exception innerException);

Parameters

message
String

A description of the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to

.NET Framework 4.8.1 en andere versies
Product Versies
.NET Framework 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