Bewerken

Share via


EntityCommandCompilationException Constructors

Definition

Initializes a new instance of EntityCommandCompilationException.

Overloads

EntityCommandCompilationException()

Initializes a new instance of EntityCommandCompilationException.

EntityCommandCompilationException(String)

Initializes a new instance of EntityCommandCompilationException.

EntityCommandCompilationException(String, Exception)

Initializes a new instance of EntityCommandCompilationException.

Remarks

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

EntityCommandCompilationException()

Initializes a new instance of EntityCommandCompilationException.

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

Remarks

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

Applies to

EntityCommandCompilationException(String)

Initializes a new instance of EntityCommandCompilationException.

public:
 EntityCommandCompilationException(System::String ^ message);
public EntityCommandCompilationException (string message);
new System.Data.EntityCommandCompilationException : string -> System.Data.EntityCommandCompilationException
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

EntityCommandCompilationException(String, Exception)

Initializes a new instance of EntityCommandCompilationException.

public:
 EntityCommandCompilationException(System::String ^ message, Exception ^ innerException);
public EntityCommandCompilationException (string message, Exception innerException);
new System.Data.EntityCommandCompilationException : string * Exception -> System.Data.EntityCommandCompilationException
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 exceptions code, see Exception.

Applies to