Editar

Partilhar via


TcpTransportBindingElement Constructors

Definition

Initializes a new instance of the TcpTransportBindingElement class.

Overloads

TcpTransportBindingElement()

Initializes a new instance of the TcpTransportBindingElement class.

TcpTransportBindingElement(TcpTransportBindingElement)

Initializes a new instance of the TcpTransportBindingElement class.

TcpTransportBindingElement()

Source:
TcpTransportBindingElement.cs
Source:
TcpTransportBindingElement.cs

Initializes a new instance of the TcpTransportBindingElement class.

public:
 TcpTransportBindingElement();
public TcpTransportBindingElement ();
Public Sub New ()

Examples

The following example shows how to create a new instance of the TcpTransportBindingElement class.

TcpTransportBindingElement bElement =
    new TcpTransportBindingElement();

Applies to

TcpTransportBindingElement(TcpTransportBindingElement)

Source:
TcpTransportBindingElement.cs
Source:
TcpTransportBindingElement.cs

Initializes a new instance of the TcpTransportBindingElement class.

protected:
 TcpTransportBindingElement(System::ServiceModel::Channels::TcpTransportBindingElement ^ elementToBeCloned);
protected TcpTransportBindingElement (System.ServiceModel.Channels.TcpTransportBindingElement elementToBeCloned);
new System.ServiceModel.Channels.TcpTransportBindingElement : System.ServiceModel.Channels.TcpTransportBindingElement -> System.ServiceModel.Channels.TcpTransportBindingElement
Protected Sub New (elementToBeCloned As TcpTransportBindingElement)

Parameters

elementToBeCloned
TcpTransportBindingElement

An instance of the TcpTransportBindingElement class.

Remarks

This method is a copy constructor used to clone the binding element, and is exposed so that derived classes can implement Clone.

Applies to