語言

InstanceNotFoundException 類別

定義

警告

The WF3 types are deprecated. Instead, please use the new WF4 types from System.Activities.*

在以下情況下拋出的例外:對已標記為完成的持久服務實例執行操作,或是透過嘗試鎖定、解鎖或處理資料庫中未找到的狀態資料而產生 SqlPersistenceProviderFactory 的持久性提供者。

public ref class InstanceNotFoundException : System::ServiceModel::Persistence::PersistenceException
[System.Serializable]
public class InstanceNotFoundException : System.ServiceModel.Persistence.PersistenceException
[System.Serializable]
[System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")]
public class InstanceNotFoundException : System.ServiceModel.Persistence.PersistenceException
[<System.Serializable>]
type InstanceNotFoundException = class
    inherit PersistenceException
[<System.Serializable>]
[<System.Obsolete("The WF3 types are deprecated.  Instead, please use the new WF4 types from System.Activities.*")>]
type InstanceNotFoundException = class
    inherit PersistenceException
Public Class InstanceNotFoundException
Inherits PersistenceException
繼承
屬性

建構函式

名稱 Description
InstanceNotFoundException()
已淘汰.

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

InstanceNotFoundException(Guid, Exception)
已淘汰.

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

InstanceNotFoundException(Guid, String, Exception)
已淘汰.

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

InstanceNotFoundException(Guid, String)
已淘汰.

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

InstanceNotFoundException(Guid)
已淘汰.

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

InstanceNotFoundException(SerializationInfo, StreamingContext)
已淘汰.

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

InstanceNotFoundException(String, Exception)
已淘汰.

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

InstanceNotFoundException(String)
已淘汰.

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

屬性

名稱 Description
Data
已淘汰.

取得一組鍵值對,提供關於例外的額外使用者定義資訊。

(繼承來源 Exception)
HelpLink
已淘汰.

取得或設定與此例外相關的說明檔案連結。

(繼承來源 Exception)
HResult
已淘汰.

取得或設定 HRESULT,一個編碼的數值,指派給特定例外。

(繼承來源 Exception)
InnerException
已淘汰.

會取得 Exception 造成目前例外的實例。

(繼承來源 Exception)
InstanceId
已淘汰.

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

Message
已淘汰.

取得描述目前例外狀況的訊息。

(繼承來源 Exception)
Source
已淘汰.

取得或設定造成錯誤之應用程式或物件的名稱。

(繼承來源 Exception)
StackTrace
已淘汰.

會取得呼叫堆疊上即時框架的字串表示。

(繼承來源 Exception)
TargetSite
已淘汰.

會取得拋出當前例外的方法。

(繼承來源 Exception)

方法

名稱 Description
Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetBaseException()
已淘汰.

當在派生類別中被覆寫時,回傳 Exception 是一個或多個後續例外的根因。

(繼承來源 Exception)
GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetObjectData(SerializationInfo, StreamingContext)
已淘汰.

以例外資訊設定 , SerializationInfo 包括例外 InstanceId。

GetType()
已淘汰.

取得目前實例的執行時型態。

(繼承來源 Exception)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()
已淘汰.

建立並回傳當前例外的字串表示。

(繼承來源 Exception)

事件

名稱 Description
SerializeObjectState
已淘汰.

當例外被序列化以建立包含該例外序列化資料的例外狀態物件時,會發生這種情況。

(繼承來源 Exception)

適用於