ObjectNotFoundException 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果在存储中找不到请求的对象,则会引发此异常。
[System.Serializable]
public sealed class ObjectNotFoundException : System.Data.DataException
type ObjectNotFoundException = class
inherit DataException
Public NotInheritable Class ObjectNotFoundException
Inherits DataException
- 继承
-
ObjectNotFoundException
- 特性
构造函数
| 名称 | 说明 |
|---|---|
| ObjectNotFoundException() |
初始化新实例 。ObjectNotFoundException |
| ObjectNotFoundException(String, Exception) |
初始化类的新实例,该实例 ObjectNotFoundException 使用指定的错误消息和对内部异常的引用。 |
| ObjectNotFoundException(String) |
使用专用错误消息初始化新实例 ObjectNotFoundException 。 |