EndpointBehaviorElement.Add(BehaviorExtensionElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a new behavior element to this 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
- element
- BehaviorExtensionElement
A BehaviorExtensionElement to be added.
Exceptions
The type specified by element
is invalid.