NetTcpContextBindingElement.InitializeFrom(Binding) 方法

定义

根据指定绑定的配置来初始化此绑定配置元素。 提供的绑定对象的类型必须为 NetTcpContextBinding

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

包含用于初始化类的内容和上下文保护级别的绑定。

适用于