WebHttpBehavior.ApplyDispatchBehavior Metod

Definition

Implementerar ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) metoden för att stödja ändring eller tillägg av klienten över en slutpunkt.

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)

Parametrar

endpoint
ServiceEndpoint

Slutpunkten som exponerar kontraktet.

endpointDispatcher
EndpointDispatcher

Slutpunktsutskickaren som beteendet tillämpas på.

Implementeringar

Kommentarer

Som en del av den här metoden GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint) och GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) anropas för varje åtgärd för att fastställa installationen IDispatchMessageFormatter .

Gäller för