AspNetCompatibilityRequirementsAttribute.IServiceBehavior.AddBindingParameters Method
.NET Framework 4
Adds custom data that the binding elements can access to support the implementation of the contract.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
void IServiceBehavior.AddBindingParameters(
ServiceDescription description,
ServiceHostBase serviceHostBase,
Collection<ServiceEndpoint> endpoints,
BindingParameterCollection parameters
)
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.
Implements
IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.