Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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