NetTcpBinding::CreateBindingElements Method ()

 

Creates a collection with the binding elements for the binding.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
virtual BindingElementCollection^ CreateBindingElements() override

Return Value

Type: System.ServiceModel.Channels::BindingElementCollection^

The ICollection<T> of type BindingElement that makes up the binding.

This example shows how to use the CreateBindingElements method to create a collection with the binding elements for the binding.

      BindingElementCollection elementCollection =
binding.CreateBindingElements();

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show: