共用方式為


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 指定的型別不同。

適用於