BindingCollectionElement.TryAdd(String, Binding, Configuration) 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:
abstract bool TryAdd(System::String ^ name, System::ServiceModel::Channels::Binding ^ binding, System::Configuration::Configuration ^ config);
protected internal abstract bool TryAdd (string name, System.ServiceModel.Channels.Binding binding, System.Configuration.Configuration config);
abstract member TryAdd : string * System.ServiceModel.Channels.Binding * System.Configuration.Configuration -> bool
Protected Friend MustOverride 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 of this binding.
Returns
true
if the operation completed successfully; otherwise, false
.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.