語言

InstanceNotFoundException 建構函式

定義

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

多載

名稱 Description
InstanceNotFoundException()

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

InstanceNotFoundException(Guid)

使用指定的識別碼初始化該類別的新實例 InstanceNotFoundException 。

InstanceNotFoundException(String)

使用指定的訊息,初始化 InstanceNotFoundException 類別的新實例。

InstanceNotFoundException(Guid, Exception)

使用指定的識別碼與內部例外初始化該類別的新實例 InstanceNotFoundException 。

InstanceNotFoundException(Guid, String)

使用指定的識別碼與訊息初始化該類別的新實例 InstanceNotFoundException 。

InstanceNotFoundException(SerializationInfo, StreamingContext)

初始化一個帶有序列化資料的新 InstanceNotFoundException 類別實例。

InstanceNotFoundException(String, Exception)

使用指定的訊息和內部例外狀況,初始化 InstanceNotFoundException 類別的新實例。

InstanceNotFoundException(Guid, String, Exception)

使用指定的識別碼、訊息及內部例外初始化該類別的新實例 InstanceNotFoundException 。

InstanceNotFoundException()

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

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

適用於

InstanceNotFoundException(Guid)

使用指定的識別碼初始化該類別的新實例 InstanceNotFoundException 。

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

參數

id
Guid

與此實例相關的唯一識別碼。

適用於

InstanceNotFoundException(String)

使用指定的訊息,初始化 InstanceNotFoundException 類別的新實例。

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

參數

message
String

說明例外狀況原因的錯誤訊息。

適用於

InstanceNotFoundException(Guid, Exception)

使用指定的識別碼與內部例外初始化該類別的新實例 InstanceNotFoundException 。

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

參數

id
Guid

與此實例相關的唯一識別碼。

innerException
Exception

那 Exception 個造成了 InstanceNotFoundException。

適用於

InstanceNotFoundException(Guid, String)

使用指定的識別碼與訊息初始化該類別的新實例 InstanceNotFoundException 。

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

參數

id
Guid

與此實例相關的唯一識別碼。

message
String

說明例外狀況原因的錯誤訊息。

適用於

InstanceNotFoundException(SerializationInfo, StreamingContext)

初始化一個帶有序列化資料的新 InstanceNotFoundException 類別實例。

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

參數

info
SerializationInfo

那 SerializationInfo 個 保留了關於被拋出例外的序列化物件資料。

context
StreamingContext

the that StreamingContext 包含了關於來源或目的地的上下文資訊。

適用於

InstanceNotFoundException(String, Exception)

使用指定的訊息和內部例外狀況,初始化 InstanceNotFoundException 類別的新實例。

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

參數

message
String

說明例外狀況原因的錯誤訊息。

innerException
Exception

那 Exception 個造成了 InstanceNotFoundException。

適用於

InstanceNotFoundException(Guid, String, Exception)

使用指定的識別碼、訊息及內部例外初始化該類別的新實例 InstanceNotFoundException 。

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

參數

id
Guid

與此實例相關的唯一識別碼。

message
String

說明例外狀況原因的錯誤訊息。

innerException
Exception

那 Exception 個造成了 InstanceNotFoundException。

適用於