Click or drag to resize

AutofacDependencyInjectionServiceBehaviorAddBindingParameters Method

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

Namespace:  Autofac.Integration.Wcf
Assembly:  Autofac.Integration.Wcf (in Autofac.Integration.Wcf.dll) Version: 6.0.0+691de191498a27e1db2c331d318e19150e41288c
Syntax
public void AddBindingParameters(
	ServiceDescription serviceDescription,
	ServiceHostBase serviceHostBase,
	Collection<ServiceEndpoint> endpoints,
	BindingParameterCollection bindingParameters
)

Parameters

serviceDescription
Type: System.ServiceModel.DescriptionServiceDescription
The service description of the service.
serviceHostBase
Type: System.ServiceModelServiceHostBase
The host of the service.
endpoints
Type: System.Collections.ObjectModelCollectionServiceEndpoint
The service endpoints.
bindingParameters
Type: System.ServiceModel.ChannelsBindingParameterCollection
Custom objects to which binding elements have access.

Implements

IServiceBehaviorAddBindingParameters(ServiceDescription, ServiceHostBase, CollectionServiceEndpoint, BindingParameterCollection)
See Also