WebHttpBehavior.GetRequestDispatchFormatter Метод

Определение

Возвращает модуль форматирования запроса в службе для данной операции службы и конечной точки службы.

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

Параметры

operationDescription
OperationDescription

Операция службы.

endpoint
ServiceEndpoint

Конечная точка службы.

Возвращаемое значение

Ссылка IDispatchMessageFormatter на модуль форматирования запроса в службе для заданной операции и конечной точки.

Комментарии

Это точка расширяемости, которую может использовать производное поведение, чтобы предоставить свою собственную реализацию IDispatchMessageFormatter, которая вызывается для десериализации входных параметров операции службы из сообщения запроса. Параметры, заданные в UriTemplate операции службы, должны быть десериализованы из универсального кода ресурса (URI) To сообщения запроса, а другие параметры должны быть десериализованы из текста сообщения запроса.

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