편집

다음을 통해 공유


WebHttpBehavior.GetReplyClientFormatter Method

Definition

Gets the reply formatter on the client for the specified endpoint and service operation.

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

Parameters

operationDescription
OperationDescription

The service operation.

endpoint
ServiceEndpoint

The service endpoint.

Returns

An IClientMessageFormatter reference to the reply formatter on the client for the specified operation and endpoint.

Remarks

This is an extensibility point that derived behaviors can use to supply their own implementation of IClientMessageFormatter that is called to deserialize the response message into the out parameters/return value of the service operation.

Applies to