ConfigurationElement.OnRequiredPropertyNotFound(String) Method

Definition

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

Remarks

The OnDeserializeUnrecognizedElement is invoked when an unknown attribute is encountered while deserializing the ConfigurationElement object.

Applies to