Partager via


ServiceMetadataBehavior.IServiceBehavior.ApplyDispatchBehavior Méthode

Définition

Implémentation de IServiceBehavior qui configure les liaisons sous-jacentes pour prendre en charge le comportement sur le service.

 virtual void System.ServiceModel.Description.IServiceBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::ServiceDescription ^ description, System::ServiceModel::ServiceHostBase ^ serviceHostBase) = System::ServiceModel::Description::IServiceBehavior::ApplyDispatchBehavior;
void IServiceBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.ServiceDescription description, System.ServiceModel.ServiceHostBase serviceHostBase);
abstract member System.ServiceModel.Description.IServiceBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
override this.System.ServiceModel.Description.IServiceBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
Sub ApplyDispatchBehavior (description As ServiceDescription, serviceHostBase As ServiceHostBase) Implements IServiceBehavior.ApplyDispatchBehavior

Paramètres

description
ServiceDescription

Description de service à modifier.

serviceHostBase
ServiceHostBase

Hôte du service.

Implémente

Exceptions

description ou serviceHostBase a la valeur null.

L'adresse de destination de serviceHostBase a la valeur null.

S’applique à