InstanceNotReadyException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化該 InstanceNotReadyException 類別的實例。
多載
| 名稱 | Description |
|---|---|
| InstanceNotReadyException() |
初始化該 InstanceNotReadyException 類別的實例。 |
| InstanceNotReadyException(String) |
利用錯誤訊息初始化類別 InstanceNotReadyException 的實例。 |
| InstanceNotReadyException(SerializationInfo, StreamingContext) |
初始化類別的序列化資料實例 InstanceNotReadyException 。 |
| InstanceNotReadyException(String, Exception) |
利用錯誤訊息與內部例外資訊初始化類別 InstanceNotReadyException 的實例。 |
| InstanceNotReadyException(XName, Guid) |
使用指令的 XName(命名空間與名稱的組合)以及執行指令的目標實例的 ID 初始化該類別的實例 InstanceNotReadyException 。 |
| InstanceNotReadyException(XName, Guid, Exception) |
使用指令的 XName(命名空間與名稱的組合)、執行指令的目標實例的 ID,以及內部例外資訊來初始化類別 InstanceNotReadyException 的實例。 |
| InstanceNotReadyException(XName, Guid, String, Exception) |
使用指令的 XName(命名空間與名稱的組合)以及指令執行目標實例的 ID、解釋例外原因的錯誤訊息,以及導致當前例外的例外,初始化該類別的實例 InstanceNotReadyException 。 |
InstanceNotReadyException()
初始化該 InstanceNotReadyException 類別的實例。
public:
InstanceNotReadyException();
public InstanceNotReadyException();
Public Sub New ()
適用於
InstanceNotReadyException(String)
利用錯誤訊息初始化類別 InstanceNotReadyException 的實例。
public:
InstanceNotReadyException(System::String ^ message);
public InstanceNotReadyException(string message);
new System.Runtime.DurableInstancing.InstanceNotReadyException : string -> System.Runtime.DurableInstancing.InstanceNotReadyException
Public Sub New (message As String)
參數
- message
- String
例外的原因。
適用於
InstanceNotReadyException(SerializationInfo, StreamingContext)
初始化類別的序列化資料實例 InstanceNotReadyException 。
protected:
InstanceNotReadyException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
protected InstanceNotReadyException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Security.SecurityCritical>]
new System.Runtime.DurableInstancing.InstanceNotReadyException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Runtime.DurableInstancing.InstanceNotReadyException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
關於目前例外的資訊。
- context
- StreamingContext
關於來源或目的地的上下文資訊。
- 屬性
適用於
InstanceNotReadyException(String, Exception)
利用錯誤訊息與內部例外資訊初始化類別 InstanceNotReadyException 的實例。
public:
InstanceNotReadyException(System::String ^ message, Exception ^ innerException);
public InstanceNotReadyException(string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceNotReadyException : string * Exception -> System.Runtime.DurableInstancing.InstanceNotReadyException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
例外的原因。
- innerException
- Exception
就是那個例外導致了現在的例外。
適用於
InstanceNotReadyException(XName, Guid)
使用指令的 XName(命名空間與名稱的組合)以及執行指令的目標實例的 ID 初始化該類別的實例 InstanceNotReadyException 。
public:
InstanceNotReadyException(System::Xml::Linq::XName ^ commandName, Guid instanceId);
public InstanceNotReadyException(System.Xml.Linq.XName commandName, Guid instanceId);
new System.Runtime.DurableInstancing.InstanceNotReadyException : System.Xml.Linq.XName * Guid -> System.Runtime.DurableInstancing.InstanceNotReadyException
Public Sub New (commandName As XName, instanceId As Guid)
參數
- commandName
- XName
指令的 XName(名稱空間與名稱的組合)。
- instanceId
- Guid
指令執行的目標實例的 ID。
適用於
InstanceNotReadyException(XName, Guid, Exception)
使用指令的 XName(命名空間與名稱的組合)、執行指令的目標實例的 ID,以及內部例外資訊來初始化類別 InstanceNotReadyException 的實例。
public:
InstanceNotReadyException(System::Xml::Linq::XName ^ commandName, Guid instanceId, Exception ^ innerException);
public InstanceNotReadyException(System.Xml.Linq.XName commandName, Guid instanceId, Exception innerException);
new System.Runtime.DurableInstancing.InstanceNotReadyException : System.Xml.Linq.XName * Guid * Exception -> System.Runtime.DurableInstancing.InstanceNotReadyException
Public Sub New (commandName As XName, instanceId As Guid, innerException As Exception)
參數
- commandName
- XName
指令的 XName(名稱空間與名稱的組合)。
- instanceId
- Guid
指令執行的目標實例的 ID。
- innerException
- Exception
就是那個例外導致了現在的例外。
適用於
InstanceNotReadyException(XName, Guid, String, Exception)
使用指令的 XName(命名空間與名稱的組合)以及指令執行目標實例的 ID、解釋例外原因的錯誤訊息,以及導致當前例外的例外,初始化該類別的實例 InstanceNotReadyException 。
public:
InstanceNotReadyException(System::Xml::Linq::XName ^ commandName, Guid instanceId, System::String ^ message, Exception ^ innerException);
public InstanceNotReadyException(System.Xml.Linq.XName commandName, Guid instanceId, string message, Exception innerException);
new System.Runtime.DurableInstancing.InstanceNotReadyException : System.Xml.Linq.XName * Guid * string * Exception -> System.Runtime.DurableInstancing.InstanceNotReadyException
Public Sub New (commandName As XName, instanceId As Guid, message As String, innerException As Exception)
參數
- commandName
- XName
指令的 XName(名稱空間與名稱的組合)。
- instanceId
- Guid
指令執行的目標實例的 ID。
- message
- String
例外的原因。
- innerException
- Exception
就是那個例外導致了現在的例外。