WebHttpBehavior.GetRequestDispatchFormatter Metoda

Definice

Získá formátovač 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

Toto je bod rozšiřitelnosti, který může odvozené chování 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 další parametry musí být deserializovány z textu zprávy požadavku.

Platí pro