ObjectNotFoundException 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.
Surcharges
| ObjectNotFoundException() |
Initialise une nouvelle instance de ObjectNotFoundException. |
| ObjectNotFoundException(String) |
Initialise une nouvelle instance de ObjectNotFoundException avec un message d'erreur spécialisé. |
| ObjectNotFoundException(String, Exception) |
Initialise une nouvelle instance de la classe ObjectNotFoundException qui utilise un message d'erreur spécifié et une référence à l'exception interne. |
ObjectNotFoundException()
Initialise une nouvelle instance de ObjectNotFoundException.
public ObjectNotFoundException ();
Public Sub New ()
S’applique à
ObjectNotFoundException(String)
Initialise une nouvelle instance de ObjectNotFoundException avec un message d'erreur spécialisé.
public ObjectNotFoundException (string message);
new System.Data.Entity.Core.ObjectNotFoundException : string -> System.Data.Entity.Core.ObjectNotFoundException
Public Sub New (message As String)
Paramètres
- message
- String
Message décrivant l'erreur.
S’applique à
ObjectNotFoundException(String, Exception)
Initialise une nouvelle instance de la classe ObjectNotFoundException qui utilise un message d'erreur spécifié et une référence à l'exception interne.
public ObjectNotFoundException (string message, Exception innerException);
new System.Data.Entity.Core.ObjectNotFoundException : string * Exception -> System.Data.Entity.Core.ObjectNotFoundException
Public Sub New (message As String, innerException As Exception)
Paramètres
- message
- String
Message décrivant l'erreur.
- innerException
- Exception
Exception à l’origine de l’exception actuelle, ou référence null (Nothing en Visual Basic) si aucune exception interne n’est spécifiée.