Provides the ability to pass custom data to binding elements to support the contract implementation.

Namespace:  Mindscape.LightSpeed.ServiceModel
Assembly:  Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)

Syntax

C#
public void AddBindingParameters(
	ServiceDescription serviceDescription,
	ServiceHostBase serviceHostBase,
	Collection<ServiceEndpoint> endpoints,
	BindingParameterCollection bindingParameters
)
Visual Basic (Declaration)
Public Sub AddBindingParameters ( _
	serviceDescription As ServiceDescription, _
	serviceHostBase As ServiceHostBase, _
	endpoints As Collection(Of ServiceEndpoint), _
	bindingParameters As BindingParameterCollection _
)

Parameters

serviceDescription
Type: System.ServiceModel.Description..::.ServiceDescription
The service description of the service.
serviceHostBase
Type: System.ServiceModel..::.ServiceHostBase
The host of the service.
endpoints
Type: System.Collections.ObjectModel..::.Collection<(Of <(ServiceEndpoint>)>)
The service endpoints.
bindingParameters
Type: System.ServiceModel.Channels..::.BindingParameterCollection
Custom objects to which binding elements have access.

Implements

IServiceBehavior..::.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<(Of <(ServiceEndpoint>)>), BindingParameterCollection)

See Also