Export (0) Print
Expand All

NetTcpContextBinding.CreateBindingElements Method

Creates an ordered collection of binding elements that are contained in the current binding.

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

public override BindingElementCollection CreateBindingElements()

Return Value

Type: System.ServiceModel.Channels.BindingElementCollection
A BindingElementCollection that contains the ordered stack of binding elements described by the NetTcpContextBinding.

The collection contains a ContextBindingElement that enables SOAP headers to be used to exchange context information.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4
© 2015 Microsoft