StandardBindingElement.InitializeFrom(Binding) 方法

定义

使用指定绑定的内容初始化此绑定配置元素。

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

参数

binding
Binding

一个绑定。

例外

bindingnull

此绑定元素的类型与 binding 指定的类型不同。

适用于