Editar

Compartilhar via


CustomBindingElement.ApplyConfiguration(Binding) Method

Definition

Applies the content of the specified binding to this binding configuration element. This method cannot be inherited.

public:
 virtual void ApplyConfiguration(System::ServiceModel::Channels::Binding ^ binding);
public void ApplyConfiguration (System.ServiceModel.Channels.Binding binding);
abstract member ApplyConfiguration : System.ServiceModel.Channels.Binding -> unit
override this.ApplyConfiguration : System.ServiceModel.Channels.Binding -> unit
Public Sub ApplyConfiguration (binding As Binding)

Parameters

binding
Binding

A binding.

Implements

Exceptions

binding is null or empty.

The type specified by binding is invalid.

-or-

The stream upgrade element already exists in the binding.

Applies to