TcpTransportBindingElement 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
注解
此方法是一个复制构造函数,用于克隆绑定元素,并公开以便派生类可以实现 Clone。