Share via


InstanceOwnerException 建構函式

定義

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

多載

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

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

適用於