EntityCommandExecutionException Constructors

Definition

Initializes a new instance of EntityCommandExecutionException.

Overloads

EntityCommandExecutionException()

Initializes a new instance of EntityCommandExecutionException.

EntityCommandExecutionException(String)

Initializes a new instance of EntityCommandExecutionException.

EntityCommandExecutionException(String, Exception)

Initializes a new instance of EntityCommandExecutionException.

Remarks

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

EntityCommandExecutionException()

Initializes a new instance of EntityCommandExecutionException.

public:
 EntityCommandExecutionException();
public EntityCommandExecutionException ();
Public Sub New ()

Remarks

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

Applies to

EntityCommandExecutionException(String)

Initializes a new instance of EntityCommandExecutionException.

public:
 EntityCommandExecutionException(System::String ^ message);
public EntityCommandExecutionException (string message);
new System.Data.EntityCommandExecutionException : string -> System.Data.EntityCommandExecutionException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Remarks

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

Applies to

EntityCommandExecutionException(String, Exception)

Initializes a new instance of EntityCommandExecutionException.

public:
 EntityCommandExecutionException(System::String ^ message, Exception ^ innerException);
public EntityCommandExecutionException (string message, Exception innerException);
new System.Data.EntityCommandExecutionException : string * Exception -> System.Data.EntityCommandExecutionException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that caused the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Remarks

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

Applies to