IDispatchMessageFormatter Interface

IDispatchMessageFormatter Interface

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

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

The IDispatchMessageFormatter type exposes the following members.

  NameDescription
Public methodDeserializeRequestDeserializes a message into an array of parameters.
Public methodSerializeReplySerializes a reply message from a specified message version, an array of parameters, and a return value.
Top

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.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft