OnRequiredPropertyNotFound Method

ConfigurationElement.OnRequiredPropertyNotFound Method (String)

 

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:
© 2016 Microsoft