Compartir a través de


AspNetCompatibilityRequirementsAttribute.IServiceBehavior.AddBindingParameters Método

Definición

Agrega los datos personalizados a los que pueden tener acceso los elementos de enlace para admitir la implementación del contrato.

 virtual void System.ServiceModel.Description.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) = System::ServiceModel::Description::IServiceBehavior::AddBindingParameters;
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);
abstract member System.ServiceModel.Description.IServiceBehavior.AddBindingParameters : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase * System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint> * System.ServiceModel.Channels.BindingParameterCollection -> unit
override this.System.ServiceModel.Description.IServiceBehavior.AddBindingParameters : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase * System.Collections.ObjectModel.Collection<System.ServiceModel.Description.ServiceEndpoint> * System.ServiceModel.Channels.BindingParameterCollection -> unit
Sub AddBindingParameters (description As ServiceDescription, serviceHostBase As ServiceHostBase, endpoints As Collection(Of ServiceEndpoint), parameters As BindingParameterCollection) Implements IServiceBehavior.AddBindingParameters

Parámetros

description
ServiceDescription

El ServiceDescription del servicio.

serviceHostBase
ServiceHostBase

La ServiceHostBase utilizada para hospedar el servicio.

endpoints
Collection<ServiceEndpoint>

La Collection<T> de tipo ServiceEndpoint que contiene los extremos para el servicio.

parameters
BindingParameterCollection

BindingParameterCollection que contiene los parámetros a los que pueden tener acceso los elementos de enlace del servicio.

Implementaciones

Comentarios

Este método admite la infraestructura de WCF y no está pensado para usarse directamente desde el código.

Se aplica a