EntitySqlException Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of EntitySqlException.

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

NameDescription
System_CAPS_pubmethodEntitySqlException()

Initializes a new instance of EntitySqlException.

System_CAPS_pubmethodEntitySqlException(String)

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

System_CAPS_pubmethodEntitySqlException(String, Exception)

Initializes a new instance of the EntitySqlException class that uses a specified error message and a reference to the inner exception that is the cause of this exception.

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

Return to top
Show: