ServiceModelConfigurationElementCollection<ConfigurationElementType>::Add Method (ConfigurationElementType)
.NET Framework (current version)
Adds the specified configuration element to this collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- element
-
Type:
ConfigurationElementType
The configuration element to be added.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is null or empty. |
.NET Framework
Available since 3.0
Available since 3.0
Show: