MexBindingBindingCollectionElement<TStandardBinding,TBindingConfiguration>.TryAdd 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.
Adds the specified binding to the collection.
protected public:
override bool TryAdd(System::String ^ name, System::ServiceModel::Channels::Binding ^ binding, System::Configuration::Configuration ^ config);
protected internal override bool TryAdd (string name, System.ServiceModel.Channels.Binding binding, System.Configuration.Configuration config);
override this.TryAdd : string * System.ServiceModel.Channels.Binding * System.Configuration.Configuration -> bool
Protected Friend Overrides Function TryAdd (name As String, binding As Binding, config As Configuration) As Boolean
Parameters
- name
- String
The name of the binding to be added.
- config
- Configuration
The configuration settings for this binding.
Returns
true
if the binding can be added to this collection; otherwise, false
.
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.