WebHttpBehavior.GetReplyClientFormatter Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Protected Overridable Function GetReplyClientFormatter ( _
    operationDescription As OperationDescription, _
    endpoint As ServiceEndpoint _
) As IClientMessageFormatter
protected virtual IClientMessageFormatter GetReplyClientFormatter(
    OperationDescription operationDescription,
    ServiceEndpoint endpoint
)

Parameters

Return Value

Type: System.ServiceModel.Dispatcher.IClientMessageFormatter
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 from the service into the out parameters/return value of the service operation.

Version Information

Silverlight

Supported in: 5, 4

Platforms

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