Edit

Bagikan melalui


CustomBindingElement.Add(BindingElementExtensionElement) Method

Definition

Adds the specified element to this configuration section.

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

Parameters

Implements

Exceptions

element is null or empty.

The message encoding configuration element already exists in the binding.

-or-

The stream upgrade element already exists in the binding.

-or-

The transport element already exists in the binding.

Applies to