CommonEndpointBehaviorElement.Add(BehaviorExtensionElement) Method

Definition

Adds the specified element to this configuration section.

public:
 override void Add(System::ServiceModel::Configuration::BehaviorExtensionElement ^ element);
public override void Add (System.ServiceModel.Configuration.BehaviorExtensionElement element);
override this.Add : System.ServiceModel.Configuration.BehaviorExtensionElement -> unit
Public Overrides Sub Add (element As BehaviorExtensionElement)

Parameters

Exceptions

element is null.

The type associated with element is invalid.

Applies to