Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

QueueMessage Class

Definition

Namespace:
Azure.Storage.Queues.Models
Assembly:
Azure.Storage.Queues.dll
Package:
Azure.Storage.Queues v12.27.0
Package:
Azure.Storage.Queues v12.27.0-beta.1
Source:
QueueMessage.cs
Source:
QueueMessage.cs

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.

A Message object which can be stored in a Queue.

public class QueueMessage
type QueueMessage = class
Public Class QueueMessage
Inheritance
QueueMessage

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
Update(UpdateReceipt)

Update a UpdateReceipt after calling UpdateMessageAsync(String, String, BinaryData, TimeSpan, CancellationToken) with the resulting UpdateReceipt.

Applies to


Feedback

Was this page helpful?