Skip to content

AzureQueueDataManager Constructors

Utility class to encapsulate access to Azure queue storage.

AzureQueueDataManager(ILoggerFactory, string, AzureQueueOptions)

View source
public AzureQueueDataManager(ILoggerFactory loggerFactory, string queueName, AzureQueueOptions options)
Constructor.

Parameters

loggerFactoryILoggerFactory
logger factory to use
queueNamestring
Name of the queue to be connected to.
optionsAzureQueueOptions
Queue connection options.

Exceptions

System.ArgumentException
The sanitized queueName violates Azure Queue naming rules.

AzureQueueDataManager(ILoggerFactory, string, string, TimeSpan?)

View source
public AzureQueueDataManager(ILoggerFactory loggerFactory, string queueName, string storageConnectionString, TimeSpan? visibilityTimeout = null)
Constructor.

Parameters

loggerFactoryILoggerFactory
logger factory to use
queueNamestring
Name of the queue to be connected to.
storageConnectionStringstring
Connection string for the Azure storage account used to host this table.
visibilityTimeoutTimeSpan?
A TimeSpan specifying the visibility timeout interval