WebHttpBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Methode

Definitie

Hiermee wordt de ApplyClientBehavior(ServiceEndpoint, ClientRuntime) methode geïmplementeerd ter ondersteuning van het wijzigen of uitbreiden van de client in een eindpunt.

public:
 virtual void ApplyClientBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::ClientRuntime ^ clientRuntime);
public virtual void ApplyClientBehavior(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime);
abstract member ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
override this.ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
Public Overridable Sub ApplyClientBehavior (endpoint As ServiceEndpoint, clientRuntime As ClientRuntime)

Parameters

endpoint
ServiceEndpoint

Het eindpunt waarmee het contract wordt weergegeven.

clientRuntime
ClientRuntime

De client waarop het aangepaste gedrag wordt toegepast.

Implementeringen

Opmerkingen

Als onderdeel van deze methode GetRequestClientFormatter(OperationDescription, ServiceEndpoint) en GetReplyClientFormatter(OperationDescription, ServiceEndpoint) worden aangeroepen voor elke bewerking om de IClientMessageFormatter te installeren bewerking te bepalen.

Van toepassing op