Skip to content

AzureQueueStreamProviderUtils Methods

Utility functions for azure queue Persistent stream provider.

ClearAllUsedAzureQueues(ILoggerFactory, List<string>, AzureQueueOptions)

static
View source
public static Task ClearAllUsedAzureQueues(ILoggerFactory loggerFactory, List<string> azureQueueNames, AzureQueueOptions queueOptions)
Helper method for testing. Clears all messages in all the queues used by the specified stream provider.

Parameters

loggerFactoryILoggerFactory
logger factory to use
azureQueueNamesList<string>
The deployment ID hosting the stream provider.
queueOptionsAzureQueueOptions
The azure storage options.

ClearAllUsedAzureQueues(ILoggerFactory, List<string>, string)

static
View source
public static Task ClearAllUsedAzureQueues(ILoggerFactory loggerFactory, List<string> azureQueueNames, string storageConnectionString)
Helper method for testing. Clears all messages in all the queues used by the specified stream provider.

Parameters

loggerFactoryILoggerFactory
logger factory to use
azureQueueNamesList<string>
The deployment ID hosting the stream provider.
storageConnectionStringstring
The azure storage connection string.

DeleteAllUsedAzureQueues(ILoggerFactory, List<string>, AzureQueueOptions)

static
View source
public static Task DeleteAllUsedAzureQueues(ILoggerFactory loggerFactory, List<string> azureQueueNames, AzureQueueOptions queueOptions)
Helper method for testing. Deletes all the queues used by the specified stream provider.

Parameters

loggerFactoryILoggerFactory
logger factory to use
azureQueueNamesList<string>
azure queue names to be deleted.
queueOptionsAzureQueueOptions
The azure storage options.

DeleteAllUsedAzureQueues(ILoggerFactory, List<string>, string)

static
View source
public static Task DeleteAllUsedAzureQueues(ILoggerFactory loggerFactory, List<string> azureQueueNames, string storageConnectionString)
Helper method for testing. Deletes all the queues used by the specified stream provider.

Parameters

loggerFactoryILoggerFactory
logger factory to use
azureQueueNamesList<string>
azure queue names to be deleted.
storageConnectionStringstring
The azure storage connection string.