Share via


EntityCommandExecutionException Class

Definition

Represents a failure while trying to prepare or execute a CommandExecution This exception is intended to provide a common exception that people can catch to hold provider exceptions (SqlException, OracleException) when using the EntityCommand to execute statements.

[System.Serializable]
public sealed class EntityCommandExecutionException : System.Data.Entity.Core.EntityException
type EntityCommandExecutionException = class
    inherit EntityException
Public NotInheritable Class EntityCommandExecutionException
Inherits EntityException
Inheritance
EntityCommandExecutionException
Attributes

Constructors

EntityCommandExecutionException()

Initializes a new instance of EntityCommandExecutionException.

EntityCommandExecutionException(String, Exception)

Initializes a new instance of EntityCommandExecutionException.

EntityCommandExecutionException(String)

Initializes a new instance of EntityCommandExecutionException.

Applies to