Export (0) Print
Expand All

TcpTransportBindingElement.Clone Method

Creates a copy of the current binding element.

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

public override BindingElement Clone()

Return Value

Type: System.ServiceModel.Channels.BindingElement
Returns a copy of the current binding element.

The following example shows how to create a copy of the current binding element.

BindingElement bElementClone = bElement.Clone();

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft