VersionMismatchException 构造函数

定义

初始化 VersionMismatchException 类的新实例。

重载

VersionMismatchException()

初始化 VersionMismatchException 类的新实例。

VersionMismatchException(String)

在不带消息的情况下初始化 VersionMismatchException 类的新实例。

VersionMismatchException(WorkflowIdentity, WorkflowIdentity)

使用预期的版本和实际的版本初始化 VersionMismatchException 类的新实例。

VersionMismatchException(SerializationInfo, StreamingContext)

使用信息和上下文初始化 VersionMismatchException 类的新实例。

VersionMismatchException(String, Exception)

初始化 VersionMismatchException 类的新实例。

VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity)

使用消息,预期的版本和实际的版本初始化 VersionMismatchException 类的新实例。

VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception)

初始化 VersionMismatchException 类的新实例。

VersionMismatchException()

初始化 VersionMismatchException 类的新实例。

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

适用于

VersionMismatchException(String)

在不带消息的情况下初始化 VersionMismatchException 类的新实例。

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

参数

message
String

解释异常原因的错误消息。

适用于

VersionMismatchException(WorkflowIdentity, WorkflowIdentity)

使用预期的版本和实际的版本初始化 VersionMismatchException 类的新实例。

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)

参数

expectedVersion
WorkflowIdentity

预期的版本。

actualVersion
WorkflowIdentity

文件的实际版本。

适用于

VersionMismatchException(SerializationInfo, StreamingContext)

使用信息和上下文初始化 VersionMismatchException 类的新实例。

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)

参数

info
SerializationInfo

SerializationInfo 包含有关所引发异常的序列化对象数据。

context
StreamingContext

StreamingContext 包含有关源或目标的上下文信息。

适用于

VersionMismatchException(String, Exception)

初始化 VersionMismatchException 类的新实例。

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)

参数

message
String

解释异常原因的错误消息。

innerException
Exception

导致当前异常的异常。

适用于

VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity)

使用消息,预期的版本和实际的版本初始化 VersionMismatchException 类的新实例。

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)

参数

message
String

解释异常原因的错误消息。

expectedVersion
WorkflowIdentity

预期的版本。

actualVersion
WorkflowIdentity

文件的实际版本。

适用于

VersionMismatchException(String, WorkflowIdentity, WorkflowIdentity, Exception)

初始化 VersionMismatchException 类的新实例。

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)

参数

message
String

解释异常原因的错误消息。

expectedVersion
WorkflowIdentity

预期的版本。

actualVersion
WorkflowIdentity

文件的实际版本。

innerException
Exception

导致当前异常的异常。

适用于