Share via


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)

Syntax

public T GetBody<T>(
    XmlObjectSerializer bodySerializer
)
public:
generic<typename T>
T GetBody(
    XmlObjectSerializer^ bodySerializer
)
member GetBody<'T> : 
        bodySerializer:XmlObjectSerializer -> 'T
Public Function GetBody(Of T) (
    bodySerializer As XmlObjectSerializer
) As T

Parameters

Return Value

Type: T

The deserialized object or graph.

Type Parameters

  • T
    The type to which the message body will be deserialized.

See Also

GetBody Overload
Message Class
Microsoft.WindowsAzure.Messaging Namespace

Return to top