IClientMessageFormatter Interface

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines methods that are used to control the conversion of messages into objects and objects into messages for client applications.

Namespace: System.ServiceModel.Dispatcher
Assembly: System.ServiceModel (in System.ServiceModel.dll)


Public Interface IClientMessageFormatter
public interface IClientMessageFormatter

The IClientMessageFormatter type exposes the following members.


Name Description
DeserializeReply Converts a message into a return value and out parameters that are passed back to the calling operation.
SerializeRequest Converts an Object array into an outbound Message.



Implement the IClientMessageFormatter interface to create a custom client formatter that serializes objects into messages and deserializes messages into objects for a particular operation.

Attach custom XAML client formatters to the Formatter property to handle this conversion explicitly.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0


Windows Phone

See Also


System.ServiceModel.Dispatcher Namespace