WebHttpBehavior.ApplyDispatchBehavior Méthode

Définition

Implémente la méthode ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) pour prendre en charge la modification ou l'extension du client sur un point de terminaison.

C#
public virtual void ApplyDispatchBehavior (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);

Paramètres

endpoint
ServiceEndpoint

Point de terminaison qui expose le contrat.

endpointDispatcher
EndpointDispatcher

Répartiteur de points de terminaison auquel le comportement est appliqué.

Implémente

Remarques

Dans le cadre de cette méthode, GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint) et GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) sont appelés pour chaque opération afin de déterminer le IDispatchMessageFormatter à installer.

S’applique à

Produit Versions
.NET Framework 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