Szerkesztés

Megosztás a következőn keresztül:


MappingException Constructors

Definition

Initializes a new instance of MappingException.

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.

Remarks

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

MappingException()

Initializes a new instance of MappingException.

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

Remarks

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

Applies to

MappingException(String)

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

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

Parameters

message
String

The message that describes the error.

Remarks

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

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

Remarks

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

Applies to