Message.GetBody<T> Method (XmlObjectSerializer)

 

Deserializes the message body into an object of the specified type by using the supplied XmlObjectSerializer.

Namespace:   Microsoft.WindowsAzure.Messaging
Assembly:  Microsoft.WindowsAzure.Messaging.Managed (in Microsoft.WindowsAzure.Messaging.Managed.dll)

public T GetBody<T>(
	XmlObjectSerializer bodySerializer
)

Parameters

bodySerializer
Type: System.Runtime.Serialization.XmlObjectSerializer

The serializer object.

Return Value

Type: T

The deserialized object or graph.

Type Parameters

T

The type to which the message body will be deserialized.

Return to top
Show: