IDispatchMessageFormatter Interface
Defines methods that deserialize request messages and serialize response messages in a service application.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
| Name | Description | |
|---|---|---|
![]() | DeserializeRequest(Message, Object[]) | Deserializes a message into an array of parameters. |
![]() | SerializeReply(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.
For a complete example, see Operation Formatter and Operation Selector.
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
