ConfigurationElement.OnRequiredPropertyNotFound(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Throws an exception when a required property is not found.
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
Parameters
- name
- String
The name of the required attribute that was not found.
Returns
Exceptions
In all cases.
Remarks
The OnDeserializeUnrecognizedElement is invoked when an unknown attribute is encountered while deserializing the ConfigurationElement object.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour