CommonEndpointBehaviorElement.Add Method (BehaviorExtensionElement)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Adds the specified element to this configuration section.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public override void Add(
	BehaviorExtensionElement element
)

Exception Condition
ArgumentNullException

element is null.

ConfigurationErrorsException

The type associated with element is invalid.

.NET Framework
Available since 3.0
Return to top
Show: