InstanceLockException 构造函数

定义

初始化 InstanceLockException 类的新实例。

重载

InstanceLockException()

初始化 InstanceLockException 类的新实例。

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

适用于

InstanceLockException(Guid)

初始化 InstanceLockException 类的新实例。

public:
 InstanceLockException(Guid id);
public InstanceLockException(Guid id);
new System.ServiceModel.Persistence.InstanceLockException : Guid -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (id As Guid)

参数

id
Guid

异常实例的唯一标识符。

适用于

InstanceLockException(String)

初始化 InstanceLockException 类的新实例。

public:
 InstanceLockException(System::String ^ message);
public InstanceLockException(string message);
new System.ServiceModel.Persistence.InstanceLockException : string -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (message As String)

参数

message
String

描述当前异常的消息。

适用于

InstanceLockException(Guid, Exception)

初始化 InstanceLockException 类的新实例。

public:
 InstanceLockException(Guid id, Exception ^ innerException);
public InstanceLockException(Guid id, Exception innerException);
new System.ServiceModel.Persistence.InstanceLockException : Guid * Exception -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (id As Guid, innerException As Exception)

参数

id
Guid

异常实例的唯一标识符。

innerException
Exception

导致当前异常的 Exception 实例。

适用于

InstanceLockException(Guid, String)

初始化 InstanceLockException 类的新实例。

public:
 InstanceLockException(Guid id, System::String ^ message);
public InstanceLockException(Guid id, string message);
new System.ServiceModel.Persistence.InstanceLockException : Guid * string -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (id As Guid, message As String)

参数

id
Guid

异常实例的唯一标识符。

message
String

描述当前异常的消息。

适用于

InstanceLockException(SerializationInfo, StreamingContext)

初始化 InstanceLockException 类的新实例。

protected:
 InstanceLockException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected InstanceLockException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.ServiceModel.Persistence.InstanceLockException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ServiceModel.Persistence.InstanceLockException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

参数

info
SerializationInfo

包含有关所引发异常的序列化对象数据的 SerializationInfo

context
StreamingContext

StreamingContext,它包含关于源或目标的上下文信息。

适用于

InstanceLockException(String, Exception)

初始化 InstanceLockException 类的新实例。

public:
 InstanceLockException(System::String ^ message, Exception ^ innerException);
public InstanceLockException(string message, Exception innerException);
new System.ServiceModel.Persistence.InstanceLockException : string * Exception -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (message As String, innerException As Exception)

参数

message
String

描述当前异常的消息。

innerException
Exception

导致当前异常的 Exception 实例。

适用于

InstanceLockException(Guid, String, Exception)

初始化 InstanceLockException 类的新实例。

public:
 InstanceLockException(Guid id, System::String ^ message, Exception ^ innerException);
public InstanceLockException(Guid id, string message, Exception innerException);
new System.ServiceModel.Persistence.InstanceLockException : Guid * string * Exception -> System.ServiceModel.Persistence.InstanceLockException
Public Sub New (id As Guid, message As String, innerException As Exception)

参数

id
Guid

异常实例的唯一标识符。

message
String

描述当前异常的消息。

innerException
Exception

导致当前异常的 Exception 实例。

适用于