ConfigurationElement.OnRequiredPropertyNotFound Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Throws an exception when a required property is not found.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

protected virtual object OnRequiredPropertyNotFound(
	string name
)

Parameters

name
Type: System.String

The name of the required attribute that was not found.

Return Value

Type: System.Object

None.

Exception Condition
ConfigurationErrorsException

In all cases.

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

.NET Framework
Available since 2.0
Return to top
Show: