ServiceBehaviorAttribute.IServiceBehavior.AddBindingParameters Method (ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

 

Passes custom data objects to the bindings that support the behavior properties.

Namespace:   System.ServiceModel
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 service description.

serviceHostBase
Type: System.ServiceModel.ServiceHostBase

The service host.

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

The service endpoints.

parameters
Type: System.ServiceModel.Channels.BindingParameterCollection

The data objects needed by bindings to support the behavior.

.NET Framework
Available since 3.0
Return to top
Show: