IClientMessageFormatter.SerializeRequest Method

Converts an Object array into an outbound Message.

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

Message SerializeRequest(
	MessageVersion messageVersion,
	Object[] parameters


Type: System.ServiceModel.Channels.MessageVersion
The version of the SOAP message to use.
Type: System.Object[]
The parameters passed to the Silverlight client operation.

Return Value

Type: System.ServiceModel.Channels.Message
The SOAP message sent to the service operation.

Called after an operation is invoked on the client but prior to serializing the outbound message. Implement to convert the parameter objects into the outbound message.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

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

Community Additions