ServiceHealthBehaviorBase.IServiceBehavior.AddBindingParameters Method

Definition

Passes custom data to binding elements to support the contact implementation.

C#
void IServiceBehavior.AddBindingParameters(System.ServiceModel.Description.ServiceDescription description, System.ServiceModel.ServiceHostBase serviceHostBase, System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint> endpoints, System.ServiceModel.Channels.BindingParameterCollection parameters);

Parameters

description
ServiceDescription

The service description.

serviceHostBase
ServiceHostBase

The service host.

endpoints
Collection<ServiceEndpoint>

The service endpoints.

parameters
BindingParameterCollection

A collection of custom objects to which binding elements have access.

Implements

Exceptions

parameters is null.

Applies to

Product Versions
.NET Framework 4.8, 4.8.1