Binding Element. Apply Configuration(Binding) Method
Applies the content of the specified binding to this binding configuration element.
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)
The type of this binding element is different from the type specified by
Name of the standard binding specified in
binding is ignored during this operation. This is because the
Name attribute of a binding is used in conjunction with the
Namespace attribute of the same binding to generate the correct WSDL for a binding. However, the Name property of this type is mainly used as a key to identify this binding element in the binding collection. Therefore, the Name property is not modified during this operation.