WebHttpBehavior.GetReplyClientFormatter 方法

定义

获取指定终结点和服务操作的客户端上的答复格式化程序。

protected:
 virtual System::ServiceModel::Dispatcher::IClientMessageFormatter ^ GetReplyClientFormatter(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected virtual System.ServiceModel.Dispatcher.IClientMessageFormatter GetReplyClientFormatter (System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Description.ServiceEndpoint endpoint);
abstract member GetReplyClientFormatter : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Dispatcher.IClientMessageFormatter
override this.GetReplyClientFormatter : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Dispatcher.IClientMessageFormatter
Protected Overridable Function GetReplyClientFormatter (operationDescription As OperationDescription, endpoint As ServiceEndpoint) As IClientMessageFormatter

参数

operationDescription
OperationDescription

服务操作。

endpoint
ServiceEndpoint

服务终结点。

返回

一个对指定操作和终结点的客户端上的答复格式化程序的 IClientMessageFormatter 引用。

注解

它是派生行为可用于提供其自身的 IClientMessageFormatter(可调用以将响应消息反序列化为服务操作的 out 参数/返回值)的实现的扩展点。

适用于