ObjectNotFoundException Constructor
Initializes a new instance of the ObjectNotFoundException class.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | ObjectNotFoundException() | Initializes a new instance of the ObjectNotFoundException class. |
![]() | ObjectNotFoundException(String) | Initializes a new instance of the ObjectNotFoundException class. |
![]() | ObjectNotFoundException(String, Exception) | Initializes a new instance of the ObjectNotFoundException class and the Constructor that takes a message and an inner exception. |
ObjectNotFoundException Constructor ()
Initializes a new instance of the ObjectNotFoundException class.
ObjectNotFoundException Constructor (String)
Initializes a new instance of the ObjectNotFoundException class.
Parameters
- message
-
Type:
System.String
The localized error message.
ObjectNotFoundException Constructor (String, Exception)
Initializes a new instance of the ObjectNotFoundException class and the Constructor that takes a message and an inner exception.
Parameters
- message
-
Type:
System.String
The localized error message.
- innerException
-
Type:
System.Exception
The inner exception.