Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IClientMessageFormatter Interface

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

Namespace:  System.ServiceModel.Dispatcher
Assemblies:   System.ServiceModel (in System.ServiceModel.dll)
  System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)

public interface IClientMessageFormatter

The IClientMessageFormatter type exposes the following members.

  NameDescription
Public methodSupported by Portable Class LibraryDeserializeReplyConverts a message into a return value and out parameters that are passed back to the calling operation.
Public methodSupported by Portable Class LibrarySerializeRequestConverts 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 Windows Communication Foundation (WCF) client formatters to the Formatter property to handle this conversion explicitly.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft