IDispatchMessageFormatter Interface

Defines methods that deserialize request messages and serialize response messages in an application.

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


Public Interface IDispatchMessageFormatter
public interface IDispatchMessageFormatter

The IDispatchMessageFormatter type exposes the following members.


  Name Description
Public methodSupported by Silverlight for Windows Phone DeserializeRequest Deserializes a message into an array of parameters.
Public methodSupported by Silverlight for Windows Phone SerializeReply Serializes a reply message from a specified message version, an array of parameters, and a return value.



Implement the IDispatchMessageFormatter interface to create a formatter extension that controls the serialization of parameters into a message and the deserialization from a message into parameters in a service application. To insert the custom formatter into the service application, assign the IDispatchMessageFormatter object to the Formatter property using a behavior.

Version Information


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0


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