Share via


MappingException Constructors

Definition

Overloads

MappingException()

Initializes a new instance of MappingException.

MappingException(String)

Initializes a new instance of MappingException with a specialized error message.

MappingException(String, Exception)

Initializes a new instance of MappingException that uses a specified error message and a reference to the inner exception.

MappingException()

Initializes a new instance of MappingException.

public MappingException ();
Public Sub New ()

Applies to

MappingException(String)

Initializes a new instance of MappingException with a specialized error message.

public MappingException (string message);
new System.Data.Entity.Core.MappingException : string -> System.Data.Entity.Core.MappingException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

MappingException(String, Exception)

Initializes a new instance of MappingException that uses a specified error message and a reference to the inner exception.

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

Parameters

message
String

The message that describes the error.

innerException
Exception

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

Applies to