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
)
Public Sub AddBindingParameters (
serviceDescription As ServiceDescription,
serviceHostBase As ServiceHostBase,
endpoints As Collection(Of ServiceEndpoint),
bindingParameters As BindingParameterCollection
)
public:
virtual void AddBindingParameters(
ServiceDescription^ serviceDescription,
ServiceHostBase^ serviceHostBase,
Collection<ServiceEndpoint^>^ endpoints,
BindingParameterCollection^ bindingParameters
) sealed
abstract AddBindingParameters :
serviceDescription : ServiceDescription *
serviceHostBase : ServiceHostBase *
endpoints : Collection<ServiceEndpoint> *
bindingParameters : BindingParameterCollection -> unit
override AddBindingParameters :
serviceDescription : ServiceDescription *
serviceHostBase : ServiceHostBase *
endpoints : Collection<ServiceEndpoint> *
bindingParameters : BindingParameterCollection -> unit
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