InstancePersistenceException 建構函式

定義

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

多載

InstancePersistenceException()

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

InstancePersistenceException(String)

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

InstancePersistenceException(XName)

使用命令的名稱,初始化 InstancePersistenceException 類別的執行個體。

InstancePersistenceException(SerializationInfo, StreamingContext)

使用序列化資訊和內容資訊,初始化 InstancePersistenceException 類別的執行個體。

InstancePersistenceException(String, Exception)

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

InstancePersistenceException(XName, Exception)

使用命令的名稱和內部例外狀況資訊,初始化 InstancePersistenceException 類別的執行個體。

InstancePersistenceException(XName, String)

使用命令的名稱和錯誤訊息,初始化 InstancePersistenceException 類別的執行個體。

InstancePersistenceException(XName, String, Exception)

使用命令的名稱、錯誤訊息和內部例外狀況資訊,初始化 InstancePersistenceException 類別的執行個體。

InstancePersistenceException()

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

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

適用於

InstancePersistenceException(String)

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

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

參數

message
String

描述目前例外狀況的錯誤訊息。

適用於

InstancePersistenceException(XName)

使用命令的名稱,初始化 InstancePersistenceException 類別的執行個體。

public:
 InstancePersistenceException(System::Xml::Linq::XName ^ commandName);
public InstancePersistenceException (System.Xml.Linq.XName commandName);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName)

參數

commandName
XName

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

適用於

InstancePersistenceException(SerializationInfo, StreamingContext)

使用序列化資訊和內容資訊,初始化 InstancePersistenceException 類別的執行個體。

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

參數

info
SerializationInfo

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

context
StreamingContext

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

屬性

適用於

InstancePersistenceException(String, Exception)

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

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

參數

message
String

目前例外狀況的原因。

innerException
Exception

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

適用於

InstancePersistenceException(XName, Exception)

使用命令的名稱和內部例外狀況資訊,初始化 InstancePersistenceException 類別的執行個體。

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

參數

commandName
XName

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

innerException
Exception

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

適用於

InstancePersistenceException(XName, String)

使用命令的名稱和錯誤訊息,初始化 InstancePersistenceException 類別的執行個體。

public:
 InstancePersistenceException(System::Xml::Linq::XName ^ commandName, System::String ^ message);
public InstancePersistenceException (System.Xml.Linq.XName commandName, string message);
new System.Runtime.DurableInstancing.InstancePersistenceException : System.Xml.Linq.XName * string -> System.Runtime.DurableInstancing.InstancePersistenceException
Public Sub New (commandName As XName, message As String)

參數

commandName
XName

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

message
String

描述例外狀況的錯誤訊息。

適用於

InstancePersistenceException(XName, String, Exception)

使用命令的名稱、錯誤訊息和內部例外狀況資訊,初始化 InstancePersistenceException 類別的執行個體。

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

參數

commandName
XName

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

message
String

描述例外狀況的錯誤訊息。

innerException
Exception

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

適用於