QueueMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The queue message.
public class QueueMessage
public class QueueMessage : System.ClientModel.Primitives.IPersistableModel<Azure.Storage.Queues.Models.QueueMessage>
type QueueMessage = class
type QueueMessage = class
interface IPersistableModel<QueueMessage>
Public Class QueueMessage
Public Class QueueMessage
Implements IPersistableModel(Of QueueMessage)
- Inheritance
-
QueueMessage
- Implements
Properties
| Name | Description |
|---|---|
| Body |
The content of the Message. |
| DequeueCount |
The number of times the message has been dequeued. |
| ExpiresOn |
The time that the Message will expire and be automatically deleted. |
| InsertedOn |
The time the Message was inserted into the Queue. |
| MessageId |
The Id of the Message. |
| NextVisibleOn |
The time that the message will again become visible in the Queue. |
| PopReceipt |
This value is required to delete the Message. If deletion fails using this popreceipt then the message has been dequeued by another client. |
Methods
| Name | Description |
|---|---|
| PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions) | |
| PersistableModelWriteCore(ModelReaderWriterOptions) | |
| Update(UpdateReceipt) |
Update a UpdateReceipt after calling UpdateMessageAsync(String, String, BinaryData, TimeSpan, CancellationToken) with the resulting UpdateReceipt. |
Operators
| Name | Description |
|---|---|
| Implicit(QueueMessage to RequestContent) | |