ServiceModelConfigurationElementCollection<ConfigurationElementType>::Remove Method (ConfigurationElementType)
.NET Framework (current version)
Removes the first occurrence of a specific configuration element from the collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- element
-
Type:
ConfigurationElementType
The configuration element to be removed from the collection.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is null. -and- The configuration file is read-only. |
.NET Framework
Available since 3.0
Available since 3.0
Show: