ClientOperation.DeserializeReply Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that indicates whether the Formatter property value is used to deserialize the reply message.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Use the DeserializeReply property to control whether the formatter deserializes the return value from an inbound message or 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 null, a InvalidOperationException is thrown at run time. |
Note: