NetPeerTcpBindingElement.InitializeFrom(Binding) 方法

定义

使用所提供的网络绑定中的信息来初始化配置元素设置。

protected public:
 override void InitializeFrom(System::ServiceModel::Channels::Binding ^ binding);
protected internal override void InitializeFrom (System.ServiceModel.Channels.Binding binding);
override this.InitializeFrom : System.ServiceModel.Channels.Binding -> unit
Protected Friend Overrides Sub InitializeFrom (binding As Binding)

参数

binding
Binding

一个 Binding,包含特定的网络绑定,此配置元素应从该绑定中获取新设置。

适用于