NetTcpBinding::CreateBindingElements Method ()
.NET Framework (current version)
Creates a collection with the binding elements for the binding.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
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
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Show: