WebHttpBehavior.GetRequestClientFormatter メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したサービス操作とエンドポイントのクライアントの要求フォーマッタを取得します。
protected:
virtual System::ServiceModel::Dispatcher::IClientMessageFormatter ^ GetRequestClientFormatter(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected virtual System.ServiceModel.Dispatcher.IClientMessageFormatter GetRequestClientFormatter(System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Description.ServiceEndpoint endpoint);
abstract member GetRequestClientFormatter : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Dispatcher.IClientMessageFormatter
override this.GetRequestClientFormatter : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Dispatcher.IClientMessageFormatter
Protected Overridable Function GetRequestClientFormatter (operationDescription As OperationDescription, endpoint As ServiceEndpoint) As IClientMessageFormatter
パラメーター
- operationDescription
- OperationDescription
サービス操作。
- endpoint
- ServiceEndpoint
サービスエンドポイント。
返品
指定した操作とエンドポイントのクライアント上の要求フォーマッタへの IClientMessageFormatter 参照。
注釈
これは、派生した動作が、サービス操作呼び出しの入力パラメーターを要求メッセージに変換するために呼び出される IClientMessageFormatter の独自の実装を提供するために使用できる拡張ポイントです。 サービス操作の UriTemplate で指定されたパラメーターは、要求メッセージの To URI にシリアル化する必要があり、その他のパラメーターは要求メッセージの本文にシリアル化する必要があります。