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, которая вызывается для десериализации сообщения ответа в выходные параметры/возвращаемое значение операции службы.

Применяется к