ObjectNotFoundException Constructor (String)
Collapse the table of content
Expand the table of content

ObjectNotFoundException Constructor (String)


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

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

public ObjectNotFoundException(
	string message


Type: System.String

The message that describes the error.

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

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft