IClientMessageFormatter.SerializeRequest Method (MessageVersion, Object[])


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 WCF 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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top