WebHttpBehavior.GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) Método

Definição

Obtém o formatador de resposta no serviço para o ponto de extremidade e a operação de serviço especificados.Gets the reply formatter on the service for the specified endpoint and service operation.

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

Parâmetros

operationDescription
OperationDescription

A operação de serviço.The service operation.

endpoint
ServiceEndpoint

O ponto de extremidade de serviço.The service endpoint.

Retornos

IDispatchMessageFormatter

Uma referência IDispatchMessageFormatter ao formatador de resposta no serviço para a operação e o ponto de extremidade especificados.An IDispatchMessageFormatter reference to the reply formatter on the service for the specified operation and endpoint.

Comentários

Esse é um ponto de extensibilidade que os comportamentos derivados podem usar para fornecer sua própria implementação de IDispatchMessageFormatter que é chamada para converter os parâmetros de valor de retorno/saída da operação de serviço em uma mensagem de resposta.This is an extensibility point that derived behaviors can use to supply their own implementation of IDispatchMessageFormatter that is called to convert the return value/out parameters of the service operation to a response message.

Aplica-se a