VersionMismatchException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 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
造成目前例外狀況的例外狀況。