Edit

Share via


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.

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

Applies to

InvalidWorkflowException(String)

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

public:
 InvalidWorkflowException(System::String ^ message);
public InvalidWorkflowException (string message);
new System.Activities.InvalidWorkflowException : string -> System.Activities.InvalidWorkflowException
Public Sub New (message As String)

Parameters

message
String

A string description of the exception.

Applies to

InvalidWorkflowException(SerializationInfo, StreamingContext)

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

protected:
 InvalidWorkflowException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InvalidWorkflowException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Activities.InvalidWorkflowException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Activities.InvalidWorkflowException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

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

InvalidWorkflowException(String, Exception)

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

public:
 InvalidWorkflowException(System::String ^ message, Exception ^ innerException);
public InvalidWorkflowException (string message, Exception innerException);
new System.Activities.InvalidWorkflowException : string * Exception -> System.Activities.InvalidWorkflowException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

A description of the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to