TcpTransportBindingElement 构造函数

定义

初始化 TcpTransportBindingElement 类的新实例。

重载

TcpTransportBindingElement()

初始化 TcpTransportBindingElement 类的新实例。

TcpTransportBindingElement(TcpTransportBindingElement)

初始化 TcpTransportBindingElement 类的新实例。

TcpTransportBindingElement()

初始化 TcpTransportBindingElement 类的新实例。

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

示例

下面的示例演示如何创建 TcpTransportBindingElement 类的新实例。

TcpTransportBindingElement bElement =
    new TcpTransportBindingElement();

适用于

TcpTransportBindingElement(TcpTransportBindingElement)

初始化 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

适用于