InstanceKeyNotReadyException 建構函式

定義

初始化 InstanceKeyNotReadyException 類別的執行個體。

多載

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

造成目前例外狀況的例外狀況。

適用於