Export (0) Print
Expand All

IContractBehavior.AddBindingParameters Method

Configures any binding elements to support the contract behavior.

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

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.

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.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft