Share via


ObjectNotFoundException Class

Definition

This exception is thrown when a requested object is not found in the store.

[System.Serializable]
public sealed class ObjectNotFoundException : System.Data.DataException
type ObjectNotFoundException = class
    inherit DataException
Public NotInheritable Class ObjectNotFoundException
Inherits DataException
Inheritance
ObjectNotFoundException
Attributes

Constructors

ObjectNotFoundException()

Initializes a new instance of ObjectNotFoundException.

ObjectNotFoundException(String, Exception)

Initializes a new instance of ObjectNotFoundException class that uses a specified error message and a reference to the inner exception.

ObjectNotFoundException(String)

Initializes a new instance of ObjectNotFoundException with a specialized error message.

Applies to