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 -> 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.