AzureQueue<TRequest> Class
Definition
- Namespace
- Savvyio.Extensions.QueueStorage
- Assemblies
- Savvyio.Extensions.QueueStorage.dll
Represents the base class from which all implementations of Azure Storage Queue should derive.
public abstract class AzureQueue<TRequest> where TRequest : IRequest
Type Parameters
TRequestThe type of the request.
- Inheritance
-
objectAzureQueue<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. |