Export (0) Print
Expand All

DispatchOperation.Formatter Property

Gets or sets the formatter maps between objects and messages: it is used to deserialize messages into objects and to serialize objects into messages.

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

public IDispatchMessageFormatter Formatter { get; set; }

Use the Formatter property to insert a custom IDispatchMessageFormatter implementation for an operation or to modify the current formatter. In the case of strongly-typed message operations, the use of the formatter can be controlled by the SerializeReply and DeserializeRequest properties.

The IDispatchMessageFormatter interface defines the SerializeReply, which converts a set of object parameters to a message, and DeserializeRequest, which converts a message to a set of return values.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show:
© 2014 Microsoft