ObjectNotFoundException Constructor

ObjectNotFoundException Constructor

.NET Framework (current version)
 

Initializes a new instance of ObjectNotFoundException.

Namespace:   System.Data
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

NameDescription
System_CAPS_pubmethodObjectNotFoundException()

Initializes a new instance of ObjectNotFoundException.

System_CAPS_pubmethodObjectNotFoundException(String)

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

System_CAPS_pubmethodObjectNotFoundException(String, Exception)

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

For more information about how to handle exceptions in your code, see Exception.

Return to top
Show:
© 2016 Microsoft