Click or drag to resize

WcfServiceBehaviorAttributeAddBindingParameters Method

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

Namespace:  Hummingbird.TestFramework.Services
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
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