WebHttpBehavior.GetReplyDispatchFormatter Metod

Definition

Hämtar svarsformaterare för tjänsten för den angivna slutpunkten och tjänståtgärden.

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

Parametrar

operationDescription
OperationDescription

Tjänståtgärden.

endpoint
ServiceEndpoint

Tjänstens slutpunkt.

Returer

En IDispatchMessageFormatter referens till svarsformaterare för tjänsten för den angivna åtgärden och slutpunkten.

Kommentarer

Det här är en utökningspunkt som härledda beteenden kan använda för att tillhandahålla en egen implementering av IDispatchMessageFormatter som anropas för att konvertera retur/ut-parametrarna för tjänståtgärden till ett svarsmeddelande.

Gäller för