EntitySqlException Constructor

 

Initializes a new instance of the EntitySqlException class.

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

NameDescription
System_CAPS_pubmethodEntitySqlException()

Initializes a new instance of EntitySqlException with the generic error message.

System_CAPS_pubmethodEntitySqlException(String)

Initializes a new instance of EntitySqlException with the given message.

System_CAPS_pubmethodEntitySqlException(String, Exception)

Initializes a new instance of EntitySqlException with the given message and innerException instance.


EntitySqlException Constructor ()

Initializes a new instance of EntitySqlException with the generic error message.

public EntitySqlException()

EntitySqlException Constructor (String)

Initializes a new instance of EntitySqlException with the given message.

public EntitySqlException(
	string message
)

Parameters

message
Type: System.String

The error message.


EntitySqlException Constructor (String, Exception)

Initializes a new instance of EntitySqlException with the given message and innerException instance.

public EntitySqlException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

The error message.

innerException
Type: System.Exception

The inner exception.