IClientMessageFormatter Interface

July 28, 2014

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)

'Declaration
Public Interface IClientMessageFormatter

The IClientMessageFormatter type exposes the following members.

  NameDescription
Public methodDeserializeReplyConverts a message into a return value and out parameters that are passed back to the calling operation.
Public methodSerializeRequestConverts an Object array into an outbound Message.
Top

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft