Partage via


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.

public:
 virtual void ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher);
public virtual void ApplyDispatchBehavior (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
abstract member ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
override this.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
Public Overridable Sub ApplyDispatchBehavior (endpoint As ServiceEndpoint, endpointDispatcher As 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 à