Dela via


CloudQueueMessage Class

Definition

Represents a message in the Microsoft Azure Queue service.

public sealed class CloudQueueMessage
type CloudQueueMessage = class
Public NotInheritable Class CloudQueueMessage
Inheritance
CloudQueueMessage

Constructors

CloudQueueMessage(Byte[])

Initializes a new instance of the CloudQueueMessage class with the given byte array.

CloudQueueMessage(String, Boolean)

Initializes a new instance of the CloudQueueMessage class with the given Base64 encoded string. This method is only used internally.

CloudQueueMessage(String, String)

Initializes a new instance of the CloudQueueMessage class with the given message ID and pop receipt.

Properties

AsBytes

Gets the content of the message as a byte array.

AsString

Gets the content of the message, as a string.

DequeueCount

Gets the number of times this message has been dequeued.

ExpirationTime

Gets the time that the message expires.

Id

Gets the message ID.

InsertionTime

Gets the time that the message was added to the queue.

MaxMessageSize

Gets the maximum message size in bytes.

MaxNumberOfMessagesToPeek

Gets the maximum number of messages that can be peeked at a time.

MaxVisibilityTimeout

Gets the maximum amount of time a message is kept in the queue.

NextVisibleTime

Gets the time that the message will next be visible.

PopReceipt

Gets the message's pop receipt.

Methods

SetMessageContent(Byte[])
Obsolete.

Sets the content of this message.

SetMessageContent(String)
Obsolete.

Sets the content of this message as a raw string.

SetMessageContent2(Byte[])

Sets the content of this message.

SetMessageContent2(String, Boolean)

Sets the content of this message.

Applies to