InstanceCompleteException 建構函式

定義

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

多載

InstanceCompleteException()

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

InstanceCompleteException(String)

使用錯誤訊息,初始化 InstanceCompleteException 類別的執行個體。

InstanceCompleteException(SerializationInfo, StreamingContext)

使用序列化的資料,初始化 InstanceCompleteException 類別的執行個體。

InstanceCompleteException(String, Exception)

使用錯誤訊息和內部例外狀況訊息,初始化 InstanceCompleteException 類別的執行個體。

InstanceCompleteException(XName, Guid)

使用命令的 XName (命名空間和名稱的結合) 與目標執行個體的 ID (命令會針對這個執行個體執行) 初始化 InstanceCompleteException 類別的執行個體。

InstanceCompleteException(XName, Guid, Exception)

使用命令的 XName (命名空間和名稱的結合)、目標執行個體的 ID (命令會針對這個執行個體執行),以及內部例外狀況資訊 (當做參數傳遞),初始化 InstanceCompleteException 類別的執行個體。

InstanceCompleteException(XName, Guid, String, Exception)

使用命令的 XName (命名空間和名稱的結合)、目標執行個體 ID (命令會針對這個執行個體執行)、說明例外狀況的錯誤訊息,以及導致目前例外狀況的例外狀況,初始化 InstanceCompleteException 類別的執行個體。

InstanceCompleteException()

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

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

適用於

InstanceCompleteException(String)

使用錯誤訊息,初始化 InstanceCompleteException 類別的執行個體。

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

參數

message
String

例外狀況的原因。

適用於

InstanceCompleteException(SerializationInfo, StreamingContext)

使用序列化的資料,初始化 InstanceCompleteException 類別的執行個體。

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

參數

info
SerializationInfo

目前例外狀況的相關資訊。

context
StreamingContext

關於來源或目的端的內容資訊。

屬性

適用於

InstanceCompleteException(String, Exception)

使用錯誤訊息和內部例外狀況訊息,初始化 InstanceCompleteException 類別的執行個體。

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

參數

message
String

例外狀況的原因。

innerException
Exception

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

適用於

InstanceCompleteException(XName, Guid)

使用命令的 XName (命名空間和名稱的結合) 與目標執行個體的 ID (命令會針對這個執行個體執行) 初始化 InstanceCompleteException 類別的執行個體。

public:
 InstanceCompleteException(System::Xml::Linq::XName ^ commandName, Guid instanceId);
public InstanceCompleteException (System.Xml.Linq.XName commandName, Guid instanceId);
new System.Runtime.DurableInstancing.InstanceCompleteException : System.Xml.Linq.XName * Guid -> System.Runtime.DurableInstancing.InstanceCompleteException
Public Sub New (commandName As XName, instanceId As Guid)

參數

commandName
XName

命令的 XName (命名空間和名稱的結合)。

instanceId
Guid

目標執行個體的 ID (命令會針對這個執行個體執行)。

適用於

InstanceCompleteException(XName, Guid, Exception)

使用命令的 XName (命名空間和名稱的結合)、目標執行個體的 ID (命令會針對這個執行個體執行),以及內部例外狀況資訊 (當做參數傳遞),初始化 InstanceCompleteException 類別的執行個體。

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

參數

commandName
XName

命令的 XName (命名空間和名稱的結合)。

instanceId
Guid

目標執行個體的 ID (命令會針對這個執行個體執行)。

innerException
Exception

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

適用於

InstanceCompleteException(XName, Guid, String, Exception)

使用命令的 XName (命名空間和名稱的結合)、目標執行個體 ID (命令會針對這個執行個體執行)、說明例外狀況的錯誤訊息,以及導致目前例外狀況的例外狀況,初始化 InstanceCompleteException 類別的執行個體。

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

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

適用於