MappingException Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de MappingException.
Surcharges
| Nom | Description |
|---|---|
| MappingException() |
Initialise une nouvelle instance de MappingException. |
| MappingException(String) |
Initialise une nouvelle instance d’un MappingException message d’erreur spécialisé. |
| MappingException(String, Exception) |
Initialise une nouvelle instance qui MappingException utilise un message d’erreur spécifié et une référence à l’exception interne. |
Remarques
Pour plus d’informations sur la gestion des exceptions dans votre code, consultez Exception.
MappingException()
Initialise une nouvelle instance de MappingException.
public:
MappingException();
public MappingException();
Public Sub New ()
Remarques
Pour plus d’informations sur la gestion des exceptions dans votre code, consultez Exception.
S’applique à
MappingException(String)
Initialise une nouvelle instance d’un MappingException message d’erreur spécialisé.
public:
MappingException(System::String ^ message);
public MappingException(string message);
new System.Data.MappingException : string -> System.Data.MappingException
Public Sub New (message As String)
Paramètres
- message
- String
Message qui décrit l’erreur.
Remarques
Pour plus d’informations sur la gestion des exceptions dans votre code, consultez Exception.
S’applique à
MappingException(String, Exception)
Initialise une nouvelle instance qui MappingException utilise un message d’erreur spécifié et une référence à l’exception interne.
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)
Paramètres
- message
- String
Message qui décrit l’erreur.
- innerException
- Exception
Exception qui est la cause de l’exception actuelle ou une référence Null (Nothing en Visual Basic) si aucune exception interne n’est spécifiée.
Remarques
Pour plus d’informations sur la gestion des exceptions dans votre code, consultez Exception.