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.