Export (0) Print
Expand All

WebHttpBindingElement.OnApplyConfiguration Method

Initializes the property values of a specified binding from the contents of this binding configuration element.

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

protected override void OnApplyConfiguration(
	Binding binding
)

Parameters

binding
Type: System.ServiceModel.Channels.Binding

The Binding that is initialized from the contents of this binding configuration element.

ExceptionCondition
ArgumentNullException

binding is null.

ArgumentException

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 3.5 SP1
Show:
© 2015 Microsoft