Язык

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

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