Bearbeiten

Freigeben über


WebHttpBehavior.ApplyDispatchBehavior Method

Definition

Implements the ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) method to support modification or extension of the client across an endpoint.

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)

Parameters

endpoint
ServiceEndpoint

The endpoint that exposes the contract.

endpointDispatcher
EndpointDispatcher

The endpoint dispatcher to which the behavior is applied.

Implements

Remarks

As part of this method, GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint) and GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) are called for each operation to determine the IDispatchMessageFormatter to install.

Applies to