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
- contractDescription
Type: System.ServiceModel.Description.ContractDescription
The contract description to modify.
- endpoint
Type: System.ServiceModel.Description.ServiceEndpoint
The endpoint to modify.
- bindingParameters
Type: System.ServiceModel.Channels.BindingParameterCollection
The objects that binding elements require to support the behavior.
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.