NetPeerTcpBindingElement.InitializeFrom(Binding) 方法

定义

使用所提供的网络绑定中的信息来初始化配置元素设置。Initializes the configuration element settings with the information from the supplied network 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,包含特定的网络绑定,此配置元素应从该绑定中获取新设置。Binding that contains a specific to networking binding from which this configuration element should obtain the new settings.

适用于