This topic has not yet been rated - Rate this topic

CloudQueue.EncodeMessage Property

Gets or sets a value indicating whether to apply Base64 encoding when adding or retrieving messages.

Namespace: Microsoft.WindowsAzure.StorageClient
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)
'Usage
Dim instance As CloudQueue
Dim value As Boolean

value = instance.EncodeMessage

instance.EncodeMessage = value
public bool EncodeMessage { get; set; }
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public boolean get_EncodeMessage ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_EncodeMessage (boolean value)

CompilerGeneratedAttribute 
public function get EncodeMessage () : boolean

CompilerGeneratedAttribute 
public function set EncodeMessage (value : boolean)

Property Value

Type: System.Boolean

True to encode messages; otherwise, false. The default value is true.

The storage client library encodes the message content using Base64 when EncodeMessage is set to true. You can set this property to false if the content of your messages is safe to pass in XML as raw UTF-8 with no Base64 encoding.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

Target Platforms

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ