Язык

WebHttpBehavior.ApplyDispatchBehavior Метод

Определение

ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) Реализует метод для поддержки изменения или расширения клиента в конечной точке.

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)

Параметры

endpoint
ServiceEndpoint

Конечная точка, которая предоставляет контракт.

endpointDispatcher
EndpointDispatcher

Диспетчер конечных точек, к которому применяется поведение.

Реализации

Комментарии

В рамках этого метода GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint)GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) и вызываются для каждой операции, чтобы определить установку IDispatchMessageFormatter .

Применяется к