CustomBindingElement.ApplyConfiguration(Binding) 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.
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 -> unitPublic 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.