Initializes a new ObjectNotFoundException object.

Overload List

Name Description
ObjectNotFoundException () Initializes a new ObjectNotFoundException object.
ObjectNotFoundException (Exception) Initializes a new ObjectNotFoundException object by specifying an inner exception that caused the current exception.
ObjectNotFoundException (String) Initializes a new ObjectNotFoundException object by specifying the error message that describes the current exception.
ObjectNotFoundException (SerializationInfo, StreamingContext) Initializes a new ObjectNotFoundException object with serialized data.
ObjectNotFoundException (String, Exception) Initializes a new ObjectNotFoundException object with an error message and inner exception.
ObjectNotFoundException (Type, Guid) Initializes a new ObjectNotFoundException object with the type and identifier for the object that could not be found.
ObjectNotFoundException (Type, String) Initializes a new ObjectNotFoundException object with the type and name of the object that could not be found.

See Also


Send comments about this topic to Microsoft.