StandardBindingElement.InitializeFrom(Binding) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.