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

EntityException Constructor (String)


Initializes a new instance of the EntityException class.

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

public EntityException(
	string message


Type: System.String

The message that describes the error.

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

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