Table of Contents

AzureQueue<TRequest> Class

Definition

Namespace
Savvyio.Extensions.QueueStorage
Assemblies
Savvyio.Extensions.QueueStorage.dll
Source
src/Savvyio.Extensions.QueueStorage/AzureQueue.cs

Represents the base class from which all implementations of Azure Storage Queue should derive.

public abstract class AzureQueue<TRequest> where TRequest : IRequest

Type Parameters

TRequest

The type of the request.

Inheritance
object
AzureQueue<TRequest>
Derived

Constructors

Name Description
AzureQueue(IMarshaller, AzureQueueOptions, QueueServiceClient, QueueClient, Func<IMessage<TRequest>, IMarshaller, string>, Func<QueueMessage, IMarshaller, IMessage<TRequest>>)

Initializes a new instance of the AzureQueue<TRequest> class with testable Azure Storage Queue clients.

AzureQueue(IMarshaller, AzureQueueOptions, Func<IMessage<TRequest>, IMarshaller, string>, Func<QueueMessage, IMarshaller, IMessage<TRequest>>)

Initializes a new instance of the AzureQueue<TRequest> class.

Methods

Name Description
ReceiveMessagesAsync(Action<AsyncOptions>)

Receives messages from the Azure Storage Queue.

SendMessageAsync(IEnumerable<IMessage<TRequest>>, Action<AsyncOptions>)

Sends the specified messages to the Azure Storage Queue.