ServiceBehaviorAttribute.IServiceBehavior.AddBindingParameters Method

Definition

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

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

The data objects needed by bindings to support the behavior.

Implements

Applies to

Produkt Verzie
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1