NamedPipeTransportBindingElement.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.

This example shows how to create a copy of the current binding element:

BindingElement bElementCopy =
    bElement.Clone();

.NET Framework
Available since 3.0
Return to top
Show: