IContractBehavior.AddBindingParameters Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Configures any binding elements to support the contract behavior.

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

Syntax

'Declaration
Sub AddBindingParameters ( _
    contractDescription As ContractDescription, _
    endpoint As ServiceEndpoint, _
    bindingParameters As BindingParameterCollection _
)
void AddBindingParameters(
    ContractDescription contractDescription,
    ServiceEndpoint endpoint,
    BindingParameterCollection bindingParameters
)

Parameters

Remarks

Implement the AddBindingParameters method to provide binding elements with the extra objects they require to support the contract behavior.

This method is called once for each endpoint that uses the specified service contract.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.