語言

InstanceLockException 建構函式

定義

初始化 InstanceLockException 類別的新執行個體。

多載

名稱 Description
InstanceLockException()

初始化 InstanceLockException 類別的新執行個體。

InstanceLockException(Guid)

初始化 InstanceLockException 類別的新執行個體。

InstanceLockException(String)

初始化 InstanceLockException 類別的新執行個體。

InstanceLockException(Guid, Exception)

初始化 InstanceLockException 類別的新執行個體。

InstanceLockException(Guid, String)

初始化 InstanceLockException 類別的新執行個體。

InstanceLockException(SerializationInfo, StreamingContext)

初始化 InstanceLockException 類別的新執行個體。

InstanceLockException(String, Exception)

初始化 InstanceLockException 類別的新執行個體。

InstanceLockException(Guid, String, Exception)

初始化 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

the that 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 導致目前例外的實例。

適用於