WebHttpBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) Yöntem

Tanım

İstemcinin ApplyClientBehavior(ServiceEndpoint, ClientRuntime) bir uç nokta genelinde değiştirilmesini veya uzantısını desteklemek için yöntemini uygular.

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)

Parametreler

endpoint
ServiceEndpoint

Sözleşmeyi kullanıma sunan uç nokta.

clientRuntime
ClientRuntime

Özel davranışın uygulandığı istemci.

Uygulamalar

Açıklamalar

Bu yöntemin bir parçası olarak ve GetRequestClientFormatter(OperationDescription, ServiceEndpoint)GetReplyClientFormatter(OperationDescription, ServiceEndpoint) yüklenecek öğesini belirlemek için her işlem için çağrılır IClientMessageFormatter .

Şunlara uygulanır