WebHttpBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
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 .