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

做為目前例外狀況發生原因的例外狀況。

適用於