IClientMessageFormatter.SerializeRequest Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Converts an Object array into an outbound Message.

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

Syntax

'Declaration
Function SerializeRequest ( _
    messageVersion As MessageVersion, _
    parameters As Object() _
) As Message
Message SerializeRequest(
    MessageVersion messageVersion,
    Object[] parameters
)

Parameters

  • parameters
    Type: array<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.

Remarks

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.

Version Information

Silverlight

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

Platforms

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