Sdílet prostřednictvím


WebHttpBehavior.GetRequestDispatchFormatter Metoda

Definice

Získá formátovací modul požadavku ve službě pro danou operaci služby a koncový bod služby.

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

Parametry

operationDescription
OperationDescription

Operace služby.

endpoint
ServiceEndpoint

Koncový bod služby.

Návraty

Odkaz IDispatchMessageFormatter na formátovač požadavků ve službě pro zadanou operaci a koncový bod.

Poznámky

Jedná se o bod rozšiřitelnosti, který odvozené chování může použít k poskytnutí vlastní implementace IDispatchMessageFormatter , která je volána k deserializaci vstupních parametrů operace služby ze zprávy požadavku. Parametry zadané v UriTemplate operaci služby musí být deserializovány z identifikátoru To URI zprávy požadavku a ostatní parametry musí být deserializovány z těla zprávy požadavku.

Platí pro