Edytuj

Udostępnij za pośrednictwem


AzureQueueDataManager Class

Definition

Utility class to encapsulate access to Azure queue storage.

public class AzureQueueDataManager
type AzureQueueDataManager = class
Public Class AzureQueueDataManager
Inheritance
AzureQueueDataManager

Remarks

Used by Azure queue streaming provider.

Constructors

AzureQueueDataManager(ILoggerFactory, String, AzureQueueOptions)

Constructor.

AzureQueueDataManager(ILoggerFactory, String, Nullable<TimeSpan>, Func<Task<QueueServiceClient>>)

Constructor.

AzureQueueDataManager(ILoggerFactory, String, String, Nullable<TimeSpan>)

Constructor.

AzureQueueDataManager(String, String, Nullable<TimeSpan>)

Constructor.

AzureQueueDataManager(String, String, String, Nullable<TimeSpan>)

Constructor.

Properties

QueueName

Name of the table queue instance is managing.

Methods

AddQueueMessage(CloudQueueMessage)

Adds a new message to the queue.

AddQueueMessage(String)

Adds a new message to the queue.

ClearQueue()

Clears the queue.

DeleteQueue()

Deletes the queue.

DeleteQueueMessage(CloudQueueMessage)

Deletes a messages from the queue.

DeleteQueueMessage(QueueMessage)

Deletes a messages from the queue.

GetApproximateMessageCount()

Returns an approximate number of messages in the queue.

GetQueueMessage()

Gets a new message from the queue.

GetQueueMessages(Int32)

Gets a number of new messages from the queue.

GetQueueMessages(Nullable<Int32>)

Gets a number of new messages from the queue.

InitQueueAsync()

Initializes the connection to the queue.

PeekQueueMessage()

Peeks in the queue for latest message, without dequeuing it.

Applies to