語言

TcpTransportBindingElement 建構函式

定義

初始化 TcpTransportBindingElement 類別的新執行個體。

多載

名稱 Description
TcpTransportBindingElement()

初始化 TcpTransportBindingElement 類別的新執行個體。

TcpTransportBindingElement(TcpTransportBindingElement)

初始化 TcpTransportBindingElement 類別的新執行個體。

TcpTransportBindingElement()

來源:
TcpTransportBindingElement.cs
來源:
TcpTransportBindingElement.cs
來源:
TcpTransportBindingElement.cs

初始化 TcpTransportBindingElement 類別的新執行個體。

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

範例

以下範例說明如何建立該類別的新實例 TcpTransportBindingElement 。

TcpTransportBindingElement bElement =
    new TcpTransportBindingElement();

適用於

TcpTransportBindingElement(TcpTransportBindingElement)

來源:
TcpTransportBindingElement.cs
來源:
TcpTransportBindingElement.cs
來源:
TcpTransportBindingElement.cs

初始化 TcpTransportBindingElement 類別的新執行個體。

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)

參數

elementToBeCloned
TcpTransportBindingElement

TcpTransportBindingElement 類別的執行個體。

備註

此方法是一個複製建構器,用於克隆綁定元素,並公開讓衍生類別實作 Clone。

適用於