DispatchOperation.DeserializeRequest Property

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

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

public bool DeserializeRequest { get; set; }

Property Value

Type: System.Boolean
false if the return type is of type Message and there are no out parameters; otherwise, true.

Use the DeserializeRequest 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. If the value is false, the return type must be of type Message and there can be no out parameters, otherwise an InvalidCastException is thrown at run-time.

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: