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