VersionMismatchException VersionMismatchException VersionMismatchException VersionMismatchException Constructors

Definition

Overloads

VersionMismatchException() VersionMismatchException() VersionMismatchException()

Initializes a new instance of the VersionMismatchException class.

VersionMismatchException(String) VersionMismatchException(String) VersionMismatchException(String) VersionMismatchException(String)

Initializes a new instance of the VersionMismatchException class using a message.

VersionMismatchException(WorkflowIdentity, WorkflowIdentity) VersionMismatchException(WorkflowIdentity, WorkflowIdentity) VersionMismatchException(WorkflowIdentity, WorkflowIdentity) VersionMismatchException(WorkflowIdentity, WorkflowIdentity)

Initializes a new instance of the VersionMismatchException class using expected version and actual version.

VersionMismatchException(SerializationInfo, StreamingContext) VersionMismatchException(SerializationInfo, StreamingContext) VersionMismatchException(SerializationInfo, StreamingContext) VersionMismatchException(SerializationInfo, StreamingContext)

Initializes a new instance of the VersionMismatchException class using info and context.

VersionMismatchException(String, Exception) VersionMismatchException(String, Exception) VersionMismatchException(String, Exception) VersionMismatchException(String, Exception)

Initializes a new instance of the VersionMismatchException class.

VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity)

Initializes a new instance of the VersionMismatchException class using the message, expected version and actual version.

VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception)

Initializes a new instance of the VersionMismatchException class.

VersionMismatchException() VersionMismatchException() VersionMismatchException()

Initializes a new instance of the VersionMismatchException class.

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

VersionMismatchException(String) VersionMismatchException(String) VersionMismatchException(String) VersionMismatchException(String)

Initializes a new instance of the VersionMismatchException class using a message.

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

Parameters

message
String String String String

The error message that explains the reason for the exception.

VersionMismatchException(WorkflowIdentity, WorkflowIdentity) VersionMismatchException(WorkflowIdentity, WorkflowIdentity) VersionMismatchException(WorkflowIdentity, WorkflowIdentity) VersionMismatchException(WorkflowIdentity, WorkflowIdentity)

Initializes a new instance of the VersionMismatchException class using expected version and actual version.

public:
 VersionMismatchException(System::Activities::WorkflowIdentity ^ expectedVersion, System::Activities::WorkflowIdentity ^ actualVersion);
public VersionMismatchException (System.Activities.WorkflowIdentity expectedVersion, System.Activities.WorkflowIdentity actualVersion);
new System.Activities.VersionMismatchException : System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentity -> System.Activities.VersionMismatchException
Public Sub New (expectedVersion As WorkflowIdentity, actualVersion As WorkflowIdentity)

Parameters

expectedVersion
WorkflowIdentity WorkflowIdentity WorkflowIdentity WorkflowIdentity

The version that is expected.

actualVersion
WorkflowIdentity WorkflowIdentity WorkflowIdentity WorkflowIdentity

Actual version from the file.

VersionMismatchException(SerializationInfo, StreamingContext) VersionMismatchException(SerializationInfo, StreamingContext) VersionMismatchException(SerializationInfo, StreamingContext) VersionMismatchException(SerializationInfo, StreamingContext)

Initializes a new instance of the VersionMismatchException class using info and context.

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

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

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

context
StreamingContext StreamingContext StreamingContext StreamingContext

The StreamingContext that contains contextual information about the source or destination.

VersionMismatchException(String, Exception) VersionMismatchException(String, Exception) VersionMismatchException(String, Exception) VersionMismatchException(String, Exception)

Initializes a new instance of the VersionMismatchException class.

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

Parameters

message
String String String String

The error message that explains the reason for the exception.

innerException
Exception Exception Exception Exception

The exception that is the cause of the current exception.

VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity)

Initializes a new instance of the VersionMismatchException class using the message, expected version and actual version.

public:
 VersionMismatchException(System::String ^ message, System::Activities::WorkflowIdentity ^ expectedVersion, System::Activities::WorkflowIdentity ^ actualVersion);
public VersionMismatchException (string message, System.Activities.WorkflowIdentity expectedVersion, System.Activities.WorkflowIdentity actualVersion);
new System.Activities.VersionMismatchException : string * System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentity -> System.Activities.VersionMismatchException
Public Sub New (message As String, expectedVersion As WorkflowIdentity, actualVersion As WorkflowIdentity)

Parameters

message
String String String String

The error message that explains the reason for the exception.

expectedVersion
WorkflowIdentity WorkflowIdentity WorkflowIdentity WorkflowIdentity

The version that is expected.

actualVersion
WorkflowIdentity WorkflowIdentity WorkflowIdentity WorkflowIdentity

Actual version from the file.

VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception) VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception)

Initializes a new instance of the VersionMismatchException class.

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

Parameters

message
String String String String

The error message that explains the reason for the exception.

expectedVersion
WorkflowIdentity WorkflowIdentity WorkflowIdentity WorkflowIdentity

The version that is expected.

actualVersion
WorkflowIdentity WorkflowIdentity WorkflowIdentity WorkflowIdentity

Actual version from the file.

innerException
Exception Exception Exception Exception

The exception that is the cause of the current exception.

Applies to