GetReplyClientFormatter Method

WebHttpBehavior.GetReplyClientFormatter Method

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

Namespace:  System.ServiceModel.Description
Assembly:  System.ServiceModel.Web.Extensions (in System.ServiceModel.Web.Extensions.dll)

protected virtual IClientMessageFormatter GetReplyClientFormatter(
	OperationDescription operationDescription,
	ServiceEndpoint endpoint
)

Parameters

operationDescription
Type: System.ServiceModel.Description.OperationDescription
A contract that characterizes an operation in terms of the messages it exchanges.
endpoint
Type: System.ServiceModel.Description.ServiceEndpoint
The service endpoint.

Return Value

Type: System.ServiceModel.Dispatcher.IClientMessageFormatter
An IClientMessageFormatter reference to the reply formatter on the client for the specified operation and endpoint.

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 from the service into the out parameters/return value of the service operation.

Silverlight

Supported in: 5, 4

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2016 Microsoft