ServiceModelConfigurationElementCollection<ConfigurationElementType>::BaseAdd Method (ConfigurationElement^)
.NET Framework (current version)
Adds the specified ConfigurationElement object to this collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- element
-
Type:
System.Configuration::ConfigurationElement^
The configuration element to add.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is null or empty. |
| ConfigurationErrorsException | The configuration file contains an existing element identical to element. |
.NET Framework
Available since 3.0
Available since 3.0
Show: