CloudQueueMessage Constructor (String)

Creates a message from UTF-8-encoded message content.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in microsoft.windowsazure.storageclient.dll)

Usage

    Dim content As String

Dim instance As New CloudQueueMessage(content)

Syntax

'Declaration
Public Sub New ( _
    content As String _
)
public CloudQueueMessage (
    string content
)
public:
CloudQueueMessage (
    String^ content
)
public CloudQueueMessage (
    String content
)
public function CloudQueueMessage (
    content : String
)

Parameters

  • content
    UTF-8 encoded message content

Remarks

In this implementation, regardless of whether an XML or binary data is passed into this function, message contents are converted to base64 before passing the data to the queue service.

When calculating the size of the message, the size of the base64 encoding is thus the important

Platforms

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

See Also

Reference

CloudQueueMessage Class
CloudQueueMessage Members
Microsoft.WindowsAzure.StorageClient Namespace