ServiceModelConfigurationElementCollection<ConfigurationElementType>.BaseAdd(ConfigurationElement) ServiceModelConfigurationElementCollection<ConfigurationElementType>.BaseAdd(ConfigurationElement) ServiceModelConfigurationElementCollection<ConfigurationElementType>.BaseAdd(ConfigurationElement) ServiceModelConfigurationElementCollection<ConfigurationElementType>.BaseAdd(ConfigurationElement) Method

Definition

Adds the specified ConfigurationElement object to this collection.

protected:
 override void BaseAdd(System::Configuration::ConfigurationElement ^ element);
protected override void BaseAdd (System.Configuration.ConfigurationElement element);
override this.BaseAdd : System.Configuration.ConfigurationElement -> unit
Protected Overrides Sub BaseAdd (element As ConfigurationElement)

Parameters

Exceptions

The configuration file contains an existing element identical to element.

Applies to