IServiceBehavior.AddBindingParameters Method

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

.NET Framework (current version)
 

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

Adds this instance to a binding parameter collection. This is an infrastructure method and not intended to be called directly.

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

A description of the service.

serviceHostBase
Type: System.ServiceModel.ServiceHostBase

The service host base.

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

A collection of service endpoints.

parameters
Type: System.ServiceModel.Channels.BindingParameterCollection

A collection of parameters.

Exception Condition
ArgumentNullException

parameters is null.

Some binding elements can sometimes access extra information when building factories. This class is a collection of objects that contain this extra information.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft