Edit

Bagikan melalui


StandardBindingElement.InitializeFrom(Binding) Method

Definition

Initializes this binding configuration element with the content of the specified 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)

Parameters

binding
Binding

A binding.

Exceptions

binding is null.

The type of this binding element is different from the type specified by binding.

Applies to