WebHttpBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Metod

Definition

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

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)

Parametrar

endpoint
ServiceEndpoint

Slutpunkten som exponerar kontraktet.

clientRuntime
ClientRuntime

Klienten som det anpassade beteendet tillämpas på.

Implementeringar

Kommentarer

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

Gäller för