Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IDispatchMessageFormatter Interface

 

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

NameDescription
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
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2017 Microsoft