This topic has not yet been rated - Rate this topic

AspNetCompatibilityRequirementsAttribute.IServiceBehavior.AddBindingParameters Method

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)
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)

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

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

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.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.