ObjectNotFoundException 类

定义

当在存储中找不到请求的对象时,将引发此异常。

[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)

使用指定的错误消息初始化 ObjectNotFoundException 的新实例。

ObjectNotFoundException(String, Exception)

初始化 ObjectNotFoundException 类的新实例,该类使用指定的错误消息和对内部异常的引用。

适用于