WebHttpBehavior.ApplyDispatchBehavior Method

Definition

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

C#
public virtual void ApplyDispatchBehavior(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher 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

Product 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, 4.8.1