WebHttpBehavior.ApplyClientBehavior(ServiceEndpoint, ClientRuntime) メソッド

定義

エンドポイント全体のクライアントの変更または拡張をサポートする ApplyClientBehavior(ServiceEndpoint, ClientRuntime) メソッドを実装します。

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)

パラメーター

endpoint
ServiceEndpoint

コントラクトを公開するエンドポイント。

clientRuntime
ClientRuntime

カスタム動作が適用されるクライアント。

実装

注釈

このメソッドの一部として、各操作に対して GetRequestClientFormatter(OperationDescription, ServiceEndpoint)GetReplyClientFormatter(OperationDescription, ServiceEndpoint) が呼び出され、インストールする IClientMessageFormatter が決定されます。

適用対象