InstancePersistenceCommandException 构造函数

定义

初始化类的 InstancePersistenceCommand 实例。

重载

名称 说明
InstancePersistenceCommandException()

初始化类的 InstancePersistenceCommand 实例。

InstancePersistenceCommandException(String)

使用错误消息初始化类的 InstancePersistenceCommand 实例。

InstancePersistenceCommandException(XName)

使用命令的 XName(命名空间和名称的组合)初始化类的实例 InstancePersistenceCommand

InstancePersistenceCommandException(SerializationInfo, StreamingContext)

使用序列化的数据初始化类的 InstancePersistenceCommand 实例。

InstancePersistenceCommandException(String, Exception)

使用错误消息和内部异常信息初始化类的 InstancePersistenceCommand 实例。

InstancePersistenceCommandException(XName, Exception)

使用命令的 XName(命名空间和名称组合)和内部异常信息初始化类的实例 InstancePersistenceCommand

InstancePersistenceCommandException(XName, Guid)

InstancePersistenceCommand使用命令的 XName(命名空间和名称的组合)和执行命令的目标实例的 ID 初始化类的实例。

InstancePersistenceCommandException(XName, Guid, Exception)

InstancePersistenceCommand使用命令的 XName(命名空间和名称的组合)、执行命令的目标实例的 ID 以及内部异常信息初始化类的实例。

InstancePersistenceCommandException(XName, String, Exception)

使用命令的 XName(命名空间和名称的组合)初始化类的 InstancePersistenceCommandException 实例、解释异常原因的错误消息以及导致当前异常的异常。

InstancePersistenceCommandException(XName, Guid, String, Exception)

InstancePersistenceCommandException使用命令的 XName(命名空间和名称组合)、执行命令的目标实例的 ID、解释异常原因的错误消息以及导致当前异常的异常初始化类的实例。

InstancePersistenceCommandException()

初始化类的 InstancePersistenceCommand 实例。

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

适用于

InstancePersistenceCommandException(String)

使用错误消息初始化类的 InstancePersistenceCommand 实例。

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

参数

message
String

异常的原因。

适用于

InstancePersistenceCommandException(XName)

使用命令的 XName(命名空间和名称的组合)初始化类的实例 InstancePersistenceCommand

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

参数

commandName
XName

命令的 XName(命名空间和名称的组合)。

适用于

InstancePersistenceCommandException(SerializationInfo, StreamingContext)

使用序列化的数据初始化类的 InstancePersistenceCommand 实例。

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

参数

info
SerializationInfo

有关当前异常的信息。

context
StreamingContext

有关源或目标的上下文信息。

属性

适用于

InstancePersistenceCommandException(String, Exception)

使用错误消息和内部异常信息初始化类的 InstancePersistenceCommand 实例。

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

参数

message
String

异常的原因。

innerException
Exception

导致当前异常的内部异常。

适用于

InstancePersistenceCommandException(XName, Exception)

使用命令的 XName(命名空间和名称组合)和内部异常信息初始化类的实例 InstancePersistenceCommand

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

参数

commandName
XName

命令的 XName(命名空间和名称的组合)。

innerException
Exception

导致当前异常的异常。

适用于

InstancePersistenceCommandException(XName, Guid)

InstancePersistenceCommand使用命令的 XName(命名空间和名称的组合)和执行命令的目标实例的 ID 初始化类的实例。

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

参数

commandName
XName

命令的 XName(命名空间和名称的组合)。

instanceId
Guid

对其执行命令的目标实例的 ID。

适用于

InstancePersistenceCommandException(XName, Guid, Exception)

InstancePersistenceCommand使用命令的 XName(命名空间和名称的组合)、执行命令的目标实例的 ID 以及内部异常信息初始化类的实例。

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

参数

commandName
XName

命令的 XName(命名空间和名称的组合)。

instanceId
Guid

对其执行命令的目标实例的 ID。

innerException
Exception

导致当前异常的异常。

适用于

InstancePersistenceCommandException(XName, String, Exception)

使用命令的 XName(命名空间和名称的组合)初始化类的 InstancePersistenceCommandException 实例、解释异常原因的错误消息以及导致当前异常的异常。

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

参数

commandName
XName

命令的 XName(命名空间和名称的组合)。

message
String

异常的原因。

innerException
Exception

导致当前异常的异常。

适用于

InstancePersistenceCommandException(XName, Guid, String, Exception)

InstancePersistenceCommandException使用命令的 XName(命名空间和名称组合)、执行命令的目标实例的 ID、解释异常原因的错误消息以及导致当前异常的异常初始化类的实例。

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

导致当前异常的异常。

适用于