Class AzureQueueProvider
Inheritance
AzureQueueProvider
Assembly: CrashCABN.DataAccess.Queues.dll
Syntax
public record AzureQueueProvider : AzureQueueProviderBase, IEquatable<AzureQueueProviderBase>, IQueueStorageProvider, IEquatable<AzureQueueProvider>
Constructors
View Source
AzureQueueProvider(QueueClientFactory, IOptions<QueueDataAccessOptions>)
Declaration
public AzureQueueProvider(QueueClientFactory ClientFactory, IOptions<QueueDataAccessOptions> DataAccessOptions)
Parameters
Properties
View Source
DataAccessOptions
Declaration
public IOptions<QueueDataAccessOptions> DataAccessOptions { get; init; }
Property Value
Methods
View Source
PopAsync(string, IQueueMessage, CancellationToken)
Declaration
public Task PopAsync(string queueName, IQueueMessage message, CancellationToken ct = default)
Parameters
Returns
View Source
PullAsync<T>(string, CancellationToken)
Declaration
public IAsyncEnumerable<QueueMessage<T>> PullAsync<T>(string queueName, CancellationToken ct = default)
Parameters
Returns
Type Parameters
View Source
PushAsync(string, object, CancellationToken)
Declaration
public ValueTask PushAsync(string queueName, object message, CancellationToken ct = default)
Parameters
Returns
Implements