AspNetCompatibilityRequirementsAttribute::IServiceBehavior::AddBindingParameters Method (ServiceDescription^, ServiceHostBase^, Collection<ServiceEndpoint^>^, BindingParameterCollection^)

 

Adds custom data that the binding elements can access to support the implementation of the contract.

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

private:
virtual void AddBindingParameters(
	ServiceDescription^ description,
	ServiceHostBase^ serviceHostBase,
	Collection<ServiceEndpoint^>^ endpoints,
	BindingParameterCollection^ parameters
) sealed = IServiceBehavior::AddBindingParameters

Parameters

description
Type: System.ServiceModel.Description::ServiceDescription^

The ServiceDescription of the service.

serviceHostBase
Type: System.ServiceModel::ServiceHostBase^

The ServiceHostBase used to host the service.

endpoints
Type: System.Collections.ObjectModel::Collection<ServiceEndpoint^>^

The Collection<T> of type ServiceEndpoint that contains the endpoints for the service.

parameters
Type: System.ServiceModel.Channels::BindingParameterCollection^

The BindingParameterCollection that contains the parameters that the binding elements for the service can access.

This method supports the WCF infrastructure and is not intended to be used directly from your code.

.NET Framework
Available since 3.0
Return to top
Show: