ConfigurationElement.OnRequiredPropertyNotFound Method
.NET Framework 4.6 and 4.5
Throws an exception when a required property is not found.
Namespace: System.Configuration
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- name
- Type: System.String
The name of the required attribute that was not found.
| Exception | Condition |
|---|---|
| ConfigurationErrorsException | In all cases. |
The OnDeserializeUnrecognizedElement is invoked when an unknown attribute is encountered while deserializing the ConfigurationElement object.
Show: