InstanceOwnerException 构造函数

定义

初始化类的 InstanceOwnerException 实例。

重载

名称 说明
InstanceOwnerException()

初始化类的 InstanceOwnerException 实例。

InstanceOwnerException(String)

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

InstanceOwnerException(SerializationInfo, StreamingContext)

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

InstanceOwnerException(String, Exception)

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

InstanceOwnerException(XName, Guid)

InstanceOwnerException使用命令的 XName(命名空间和名称的组合)和实例所有者的 ID 初始化类的实例。

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)

InstanceOwnerException使用命令的 XName(命名空间和名称的组合)和实例所有者的 ID 初始化类的实例。

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

导致当前异常的异常。

适用于