StandardBindingElement.InitializeFrom Method (Binding)

 

Initializes this binding configuration element with the content of the specified binding.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

protected internal virtual void InitializeFrom(
	Binding binding
)

Parameters

binding
Type: System.ServiceModel.Channels.Binding

A binding.

Exception Condition
ArgumentNullException

binding is null.

ArgumentException

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

.NET Framework
Available since 3.0
Return to top
Show: