InstanceKeyNotReadyException 建構函式

定義

初始化該 InstanceKeyNotReadyException 類別的實例。

多載

名稱 Description
InstanceKeyNotReadyException()

初始化該 InstanceKeyNotReadyException 類別的實例。

InstanceKeyNotReadyException(String)

透過使用錯誤訊息初始化類別 InstanceKeyNotReadyException 的實例。

InstanceKeyNotReadyException(SerializationInfo, StreamingContext)

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

InstanceKeyNotReadyException(String, Exception)

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

InstanceKeyNotReadyException(XName, InstanceKey)

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

InstanceKeyNotReadyException(XName, InstanceKey, Exception)

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

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

透過指令名稱、執行指令的實例 ID、實例金鑰資訊、解釋異常原因的錯誤訊息,以及導致當前例外的內部例外來初始化類別實例 InstanceKeyNotReadyException

InstanceKeyNotReadyException()

初始化該 InstanceKeyNotReadyException 類別的實例。

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

適用於

InstanceKeyNotReadyException(String)

透過使用錯誤訊息初始化類別 InstanceKeyNotReadyException 的實例。

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

參數

message
String

例外的原因。

適用於

InstanceKeyNotReadyException(SerializationInfo, StreamingContext)

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

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

參數

info
SerializationInfo

關於目前例外的資訊。

context
StreamingContext

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

屬性

適用於

InstanceKeyNotReadyException(String, Exception)

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

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

參數

message
String

例外的原因。

innerException
Exception

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

適用於

InstanceKeyNotReadyException(XName, InstanceKey)

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

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

參數

commandName
XName

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

instanceKey
InstanceKey

關於實例金鑰的資訊。

適用於

InstanceKeyNotReadyException(XName, InstanceKey, Exception)

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

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

參數

commandName
XName

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

instanceKey
InstanceKey

關於實例金鑰的資訊。

innerException
Exception

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

適用於

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

透過指令名稱、執行指令的實例 ID、實例金鑰資訊、解釋異常原因的錯誤訊息,以及導致當前例外的內部例外來初始化類別實例 InstanceKeyNotReadyException

public:
 InstanceKeyNotReadyException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::Runtime::DurableInstancing::InstanceKey ^ instanceKey, System::String ^ message, Exception ^ innerException);
public InstanceKeyNotReadyException(System.Xml.Linq.XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceKeyNotReadyException : System.Xml.Linq.XName * Guid * System.Runtime.DurableInstancing.InstanceKey * string * Exception -> System.Runtime.DurableInstancing.InstanceKeyNotReadyException
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

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

適用於