CloudQueueMessage CloudQueueMessage CloudQueueMessage Class

Definition

Represents a message in the Microsoft Azure Queue service.

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

Constructors

CloudQueueMessage(Byte[]) CloudQueueMessage(Byte[]) CloudQueueMessage(Byte[])

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

CloudQueueMessage(String) CloudQueueMessage(String) CloudQueueMessage(String)

Initializes a new instance of the CloudQueueMessage class with the given string.

CloudQueueMessage(String, String) CloudQueueMessage(String, String) CloudQueueMessage(String, String)

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

Properties

AsBytes AsBytes AsBytes

Gets the content of the message as a byte array.

AsString AsString AsString

Gets the content of the message, as a string.

DequeueCount DequeueCount DequeueCount

Gets the number of times this message has been dequeued.

ExpirationTime ExpirationTime ExpirationTime

Gets the time that the message expires.

Id Id Id

Gets the message ID.

InsertionTime InsertionTime InsertionTime

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

MaxMessageSize MaxMessageSize MaxMessageSize

Gets the maximum message size in bytes.

MaxNumberOfMessagesToPeek MaxNumberOfMessagesToPeek MaxNumberOfMessagesToPeek

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

MaxVisibilityTimeout MaxVisibilityTimeout MaxVisibilityTimeout

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

NextVisibleTime NextVisibleTime NextVisibleTime

Gets the time that the message will next be visible.

PopReceipt PopReceipt PopReceipt

Gets the message's pop receipt.

Methods

SetMessageContent(Byte[]) SetMessageContent(Byte[]) SetMessageContent(Byte[])

Sets the content of this message.

SetMessageContent(String) SetMessageContent(String) SetMessageContent(String)

Sets the content of this message.

Extension Methods

IsDefined(Object) IsDefined(Object) IsDefined(Object)

Determines if a certain property is defined or not.

IsNull(Object) IsNull(Object) IsNull(Object)

Determines if a certain property is null or not.

IsPrimitive(Object) IsPrimitive(Object) IsPrimitive(Object)

Determines if a certain property is of premitive JSON type.

Applies to