Represents a message in the Windows Azure Queue service.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
Constructors
Name | Description | |
---|---|---|
CloudQueueMessage(String)(String^)(String)(String) | Initializes a new instance of the CloudQueueMessage class with the given string. | |
CloudQueueMessage(String, String)(String^, String^)(String, String)(String, String) | Initializes a new instance of the CloudQueueMessage class with the given message ID and pop receipt. |
Properties
Name | Description | |
---|---|---|
AsBytesAsBytesAsBytesAsBytes | Gets the content of the message as a byte array. | |
AsStringAsStringAsStringAsString | Gets the content of the message, as a string. | |
DequeueCountDequeueCountDequeueCountDequeueCount | Gets the number of times this message has been dequeued. | |
ExpirationTimeExpirationTimeExpirationTimeExpirationTime | Gets the time that the message expires. | |
IdIdIdId | Gets the message ID. | |
InsertionTimeInsertionTimeInsertionTimeInsertionTime | Gets the time that the message was added to the queue. | |
MaxMessageSizeMaxMessageSizeMaxMessageSizeMaxMessageSize | Gets the maximum message size in bytes. | |
MaxNumberOfMessagesToPeekMaxNumberOfMessagesToPeekMaxNumberOfMessagesToPeekMaxNumberOfMessagesToPeek | Gets the maximum number of messages that can be peeked at a time. | |
MaxTimeToLiveMaxTimeToLiveMaxTimeToLiveMaxTimeToLive | Gets the maximum amount of time a message is kept in the queue. | |
NextVisibleTimeNextVisibleTimeNextVisibleTimeNextVisibleTime | Gets the time that the message will next be visible. | |
PopReceiptPopReceiptPopReceiptPopReceipt | Gets the message's pop receipt. |
Methods
Name | Description | |
---|---|---|
CreateCloudQueueMessageFromByteArray(Byte[])(array<Byte>^)(Byte[])(Byte()) | Initializes a new instance of the CloudQueueMessage class with the given byte array. | |
Equals(Object)(Object^)(Object)(Object) | (Inherited from Object.) | |
GetHashCode()()()() | (Inherited from Object.) | |
GetType()()()() | (Inherited from Object.) | |
SetMessageContent(Byte[])(array<Byte>^)(Byte[])(Byte()) | Sets the content of this message. | |
SetMessageContent(String)(String^)(String)(String) | Sets the content of this message. | |
ToString()()()() | (Inherited from Object.) |
Represents a message in the Windows Azure Queue service.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.