WebHttpBehavior.GetReplyDispatchFormatter 方法

定义

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

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

参数

operationDescription
OperationDescription

服务操作。

endpoint
ServiceEndpoint

服务终结点。

返回

一个对指定操作和终结点的服务上的答复格式化程序的 IDispatchMessageFormatter 引用。

注解

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

适用于