IDispatchMessageFormatter Interface


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

public interface IDispatchMessageFormatter

System_CAPS_pubmethodDeserializeRequest(Message, Object[])

Deserializes a message into an array of parameters.

System_CAPS_pubmethodSerializeReply(MessageVersion, Object[], Object)

Serializes a reply message from a specified message version, 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.

.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top