ObjectNotFoundException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework