BindingCollectionElement::TryAdd Method (String^, Binding^, Configuration^)
.NET Framework (current version)
Adds the specified binding to the collection.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
public protected: virtual bool TryAdd( String^ name, Binding^ binding, Configuration^ config ) abstract
Parameters
- name
-
Type:
System::String^
The name of the binding to be added.
- binding
-
Type:
System.ServiceModel.Channels::Binding^
A Binding object that represents the binding to be added.
- config
-
Type:
System.Configuration::Configuration^
The configuration settings of this binding.
.NET Framework
Available since 3.0
Available since 3.0
Show: