WebHttpBehavior.GetReplyDispatchFormatter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the reply formatter on the service for the specified endpoint and service operation.
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
Parameters
- operationDescription
- OperationDescription
The service operation.
- endpoint
- ServiceEndpoint
The service endpoint.
Returns
An IDispatchMessageFormatter reference to the reply formatter on the service for the specified operation and endpoint.
Remarks
This is an extensibility point that derived behaviors can use to supply their own implementation of IDispatchMessageFormatter that is called to convert the return value/out parameters of the service operation to a response message.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om