WebHttpBehavior.GetReplyClientFormatter(OperationDescription, ServiceEndpoint) 方法

定义

获取指定终结点和服务操作的客户端上的答复格式化程序。Gets the reply formatter on the client for the specified endpoint and service operation.

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

服务操作。The service operation.

endpoint
ServiceEndpoint

服务终结点。The service endpoint.

返回

IClientMessageFormatter

一个对指定操作和终结点的客户端上的答复格式化程序的 IClientMessageFormatter 引用。An IClientMessageFormatter reference to the reply formatter on the client for the specified operation and endpoint.

注解

它是派生行为可用于提供其自身的 IClientMessageFormatter(可调用以将响应消息反序列化为服务操作的 out 参数/返回值)的实现的扩展点。This is an extensibility point that derived behaviors can use to supply their own implementation of IClientMessageFormatter that is called to deserialize the response message into the out parameters/return value of the service operation.

适用于