MappingException Konstruktorer

Definition

Initierar en ny instans av MappingException.

Överlagringar

Name Description
MappingException()

Initierar en ny instans av MappingException.

MappingException(String)

Initierar en ny instans av MappingException med ett specialiserat felmeddelande.

MappingException(String, Exception)

Initierar en ny instans av MappingException som använder ett angivet felmeddelande och en referens till det inre undantaget.

Kommentarer

Mer information om hur du hanterar undantag i koden Exceptionfinns i .

MappingException()

Initierar en ny instans av MappingException.

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

Kommentarer

Mer information om hur du hanterar undantag i koden Exceptionfinns i .

Gäller för

MappingException(String)

Initierar en ny instans av MappingException med ett specialiserat felmeddelande.

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

Parametrar

message
String

Meddelandet som beskriver felet.

Kommentarer

Mer information om hur du hanterar undantag i koden Exceptionfinns i .

Gäller för

MappingException(String, Exception)

Initierar en ny instans av MappingException som använder ett angivet felmeddelande och en referens till det inre undantaget.

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)

Parametrar

message
String

Meddelandet som beskriver felet.

innerException
Exception

Undantaget som är orsaken till det aktuella undantaget eller en null-referens (Nothing i Visual Basic) om inget inre undantag har angetts.

Kommentarer

Mer information om hur du hanterar undantag i koden Exceptionfinns i .

Gäller för