Sdílet prostřednictvím


WebHttpBehavior.ApplyDispatchBehavior Metoda

Definice

Implementuje ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) metodu pro podporu úprav nebo rozšíření klienta napříč koncovým bodem.

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)

Parametry

endpoint
ServiceEndpoint

Koncový bod, který zveřejňuje kontrakt.

endpointDispatcher
EndpointDispatcher

Dispečer koncového bodu, na který se toto chování používá.

Implementuje

Poznámky

Jako součást této metody a jsou GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint) GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) volány pro každou operaci k IDispatchMessageFormatter určení, která se má nainstalovat.

Platí pro