ConfigurationElement.OnRequiredPropertyNotFound(String) Méthode
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.
Lève une exception lorsqu'une propriété requise est introuvable.
protected:
virtual System::Object ^ OnRequiredPropertyNotFound(System::String ^ name);
protected virtual object OnRequiredPropertyNotFound (string name);
abstract member OnRequiredPropertyNotFound : string -> obj
override this.OnRequiredPropertyNotFound : string -> obj
Protected Overridable Function OnRequiredPropertyNotFound (name As String) As Object
Paramètres
- name
- String
Nom de l'attribut requis qui n'a pas été trouvé.
Retours
Exceptions
Dans tous les cas.
Remarques
le OnDeserializeUnrecognizedElement est appelé lorsqu’un attribut inconnu est rencontré lors de la désérialisation de l’objet ConfigurationElement .