Partager via


ObjectNotFoundException Constructeurs

Définition

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.

S’applique à