ObjectNotFoundException 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當請求的物件在儲存庫中找不到時會拋出此例外。
[System.Serializable]
public sealed class ObjectNotFoundException : System.Data.DataException
type ObjectNotFoundException = class
inherit DataException
Public NotInheritable Class ObjectNotFoundException
Inherits DataException
- 繼承
-
ObjectNotFoundException
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| ObjectNotFoundException() |
初始化一個新的 實 ObjectNotFoundException例。 |
| ObjectNotFoundException(String, Exception) |
初始化一個新的類別實例,該實例 ObjectNotFoundException 使用指定的錯誤訊息及對內部例外的參考。 |
| ObjectNotFoundException(String) |
初始化一個新的實例 ObjectNotFoundException ,並以專門的錯誤訊息。 |