VersionMismatchException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the VersionMismatchException class.
Overloads
VersionMismatchException() |
Initializes a new instance of the VersionMismatchException class. |
VersionMismatchException(String) |
Initializes a new instance of the VersionMismatchException class using a message. |
VersionMismatchException(WorkflowIdentity, WorkflowIdentity) |
Initializes a new instance of the VersionMismatchException class using expected version and actual version. |
VersionMismatchException(SerializationInfo, StreamingContext) |
Initializes a new instance of the VersionMismatchException class using info and context. |
VersionMismatchException(String, Exception) |
Initializes a new instance of the VersionMismatchException class. |
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) |
Initializes a new instance of the VersionMismatchException class. |
VersionMismatchException()
Initializes a new instance of the VersionMismatchException class.
public:
VersionMismatchException();
public VersionMismatchException ();
Public Sub New ()
Applies to
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
The error message that explains the reason for the exception.
Applies to
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
The version that is expected.
- actualVersion
- WorkflowIdentity
Actual version from the file.
Applies to
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
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Applies to
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
The error message that explains the reason for the exception.
- innerException
- Exception
The exception that is the cause of the current exception.
Applies to
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
The error message that explains the reason for the exception.
- expectedVersion
- WorkflowIdentity
The version that is expected.
- actualVersion
- WorkflowIdentity
Actual version from the file.
Applies to
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
The error message that explains the reason for the exception.
- expectedVersion
- WorkflowIdentity
The version that is expected.
- actualVersion
- WorkflowIdentity
Actual version from the file.
- innerException
- Exception
The exception that is the cause of the current exception.