EntityCommandExecutionException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
EntityCommandExecutionException()
Initializes a new instance of EntityCommandExecutionException.
public EntityCommandExecutionException ();
Public Sub New ()
Applies to
EntityCommandExecutionException(String)
Initializes a new instance of EntityCommandExecutionException.
public EntityCommandExecutionException (string message);
new System.Data.Entity.Core.EntityCommandExecutionException : string -> System.Data.Entity.Core.EntityCommandExecutionException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
EntityCommandExecutionException(String, Exception)
Initializes a new instance of EntityCommandExecutionException.
public EntityCommandExecutionException (string message, Exception innerException);
new System.Data.Entity.Core.EntityCommandExecutionException : string * Exception -> System.Data.Entity.Core.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.
Applies to
Entity Framework