Export (0) Print
Expand All

ClientOperation.DeserializeReply Property

Gets or sets a value that indicates whether the Formatter property value is used to deserialize the reply message.

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

public bool DeserializeReply { get; set; }
/** @property */
public boolean get_DeserializeReply ()

/** @property */
public void set_DeserializeReply (boolean value)

public function get DeserializeReply () : boolean

public function set DeserializeReply (value : boolean)

Not applicable.

Property Value

true if the return type is not a Message; otherwise, false.

Use the DeserializeReply property to control whether the formatter deserializes the return value from an inbound message or whether the inbound message is returned directly as the return value.

  • Note   If false, the return type must be of type Message and there can be no out parameters or an InvalidCastException is thrown at run-time. If the message is a null reference (Nothing in Visual Basic), a InvalidOperationException is thrown at run-time.

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