Export (0) Print
Expand All

ClientOperation.Formatter Property

Gets or sets the formatter that serializes objects into messages and deserializes messages into objects.

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

public IClientMessageFormatter Formatter { get; set; }
/** @property */
public IClientMessageFormatter get_Formatter ()

/** @property */
public void set_Formatter (IClientMessageFormatter value)

public function get Formatter () : IClientMessageFormatter

public function set Formatter (value : IClientMessageFormatter)

Not applicable.

Property Value

An IClientMessageFormatter implementation.

Use the Formatter property to insert a custom IClientMessageFormatter implementation for an operation or modify the current formatter. The use of the formatter can be controlled by the SerializeRequest and DeserializeReply properties.

The IClientMessageFormatter interface defines the SerializeRequest and DeserializeReply methods, which are used to convert a set of object parameters to a message and from a message to a set of return values, respectively.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft