InstanceKeyCompleteException 建構函式

定義

初始化該 InstanceKeyCompleteException 類別的實例。

多載

名稱 Description
InstanceKeyCompleteException()

初始化該 InstanceKeyCompleteException 類別的實例。

InstanceKeyCompleteException(String)

利用錯誤訊息初始化類別 InstanceKeyCompleteException 的實例。

InstanceKeyCompleteException(SerializationInfo, StreamingContext)

用序列化資料初始化類別的實例 InstanceKeyCompleteException

InstanceKeyCompleteException(String, Exception)

利用錯誤訊息與內部例外資訊初始化類別 InstanceKeyCompleteException 的實例。

InstanceKeyCompleteException(XName, InstanceKey)

利用指令名稱及實例金鑰資訊初始化類別 InstanceKeyCompleteException 的實例。

InstanceKeyCompleteException(XName, InstanceKey, Exception)

利用指令名稱、實例金鑰資訊及內部例外(導致當前例外的例外)初始化類別實例 InstanceKeyCompleteException

InstanceKeyCompleteException(XName, Guid, InstanceKey, String, Exception)

初始化類別實例 InstanceKeyCompleteException 時,使用指令名稱、執行指令的實例 ID、實例金鑰資訊、解釋例外原因的錯誤訊息,以及作為參數傳遞的內部例外(導致當前例外的例外)。

InstanceKeyCompleteException()

初始化該 InstanceKeyCompleteException 類別的實例。

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

適用於

InstanceKeyCompleteException(String)

利用錯誤訊息初始化類別 InstanceKeyCompleteException 的實例。

public:
 InstanceKeyCompleteException(System::String ^ message);
public InstanceKeyCompleteException(string message);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : string -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Public Sub New (message As String)

參數

message
String

例外的原因。

適用於

InstanceKeyCompleteException(SerializationInfo, StreamingContext)

用序列化資料初始化類別的實例 InstanceKeyCompleteException

protected:
 InstanceKeyCompleteException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstanceKeyCompleteException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

參數

info
SerializationInfo

關於目前例外的資訊。

context
StreamingContext

關於來源或目的地的上下文資訊。

屬性

適用於

InstanceKeyCompleteException(String, Exception)

利用錯誤訊息與內部例外資訊初始化類別 InstanceKeyCompleteException 的實例。

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

參數

message
String

例外的原因。

innerException
Exception

就是那個例外導致了現在的例外。

適用於

InstanceKeyCompleteException(XName, InstanceKey)

利用指令名稱及實例金鑰資訊初始化類別 InstanceKeyCompleteException 的實例。

public:
 InstanceKeyCompleteException(System::Xml::Linq::XName ^ commandName, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey);
public InstanceKeyCompleteException(System.Xml.Linq.XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : System.Xml.Linq.XName * System.Runtime.DurableInstancing.InstanceKey -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Public Sub New (commandName As XName, instanceKey As InstanceKey)

參數

commandName
XName

指令的 XName(名稱空間與名稱的組合)。

instanceKey
InstanceKey

關於實例金鑰的資訊。

適用於

InstanceKeyCompleteException(XName, InstanceKey, Exception)

利用指令名稱、實例金鑰資訊及內部例外(導致當前例外的例外)初始化類別實例 InstanceKeyCompleteException

public:
 InstanceKeyCompleteException(System::Xml::Linq::XName ^ commandName, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, Exception ^ innerException);
public InstanceKeyCompleteException(System.Xml.Linq.XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : System.Xml.Linq.XName * System.Runtime.DurableInstancing.InstanceKey * Exception -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Public Sub New (commandName As XName, instanceKey As InstanceKey, innerException As Exception)

參數

commandName
XName

指令的 XName(名稱空間與名稱的組合)。

instanceKey
InstanceKey

關於實例金鑰的資訊。

innerException
Exception

就是那個例外導致了現在的例外。

適用於

InstanceKeyCompleteException(XName, Guid, InstanceKey, String, Exception)

初始化類別實例 InstanceKeyCompleteException 時,使用指令名稱、執行指令的實例 ID、實例金鑰資訊、解釋例外原因的錯誤訊息,以及作為參數傳遞的內部例外(導致當前例外的例外)。

public:
 InstanceKeyCompleteException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, System::String ^ message, Exception ^ innerException);
public InstanceKeyCompleteException(System.Xml.Linq.XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyCompleteException : System.Xml.Linq.XName * Guid * System.Runtime.DurableInstancing.InstanceKey * string * Exception -> System.Runtime.DurableInstancing.InstanceKeyCompleteException
Public Sub New (commandName As XName, instanceId As Guid, instanceKey As InstanceKey, message As String, innerException As Exception)

參數

commandName
XName

指令的 XName(名稱空間與名稱的組合)。

instanceId
Guid

指令執行的實例的 ID。

instanceKey
InstanceKey

關於實例金鑰的資訊。

message
String

錯誤訊息說明了異常原因。

innerException
Exception

就是那個例外導致了現在的例外。

適用於