Share via


ConfigurationElementInterceptor.OnDeserializeUnrecognizedAttribute Méthode

Définition

Obtient une valeur qui indique si un attribut inconnu est survenu pendant la désérialisation. Retourne toujours true.

protected:
 override bool OnDeserializeUnrecognizedAttribute(System::String ^ name, System::String ^ value);
protected override bool OnDeserializeUnrecognizedAttribute (string name, string value);
override this.OnDeserializeUnrecognizedAttribute : string * string -> bool
Protected Overrides Function OnDeserializeUnrecognizedAttribute (name As String, value As String) As Boolean

Paramètres

name
String

Nom de l'attribut non reconnu.

value
String

Valeur de l'attribut non reconnu.

Retours

Retourne toujours true, ce qui indique qu'un attribut non reconnu a été détecté.

Remarques

La ConfigurationElementInterceptor classe est spécifiquement implémentée pour gérer les éléments et attributs arbitraires définis par l’utilisateur. Pour cette raison, cette méthode retourne true quand le .NET Framework détecte un élément ou un attribut non reconnu pour maintenir l’analyseur en cours d’exécution.

S’applique à