Class QueueItem<T>
Inheritance
System.Object
QueueItem<T>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AzureFromTheTrenches.Commanding.Queue.Model
Assembly: AzureFromTheTrenches.Commanding.Queue.dll
Syntax
public class QueueItem<T>
where T : class
Type Parameters
| Name | Description |
|---|---|
| T |
Constructors
| Improve this Doc View SourceQueueItem(T, Int32, String, IReadOnlyDictionary<String, Object>, Func<Task>)
Declaration
public QueueItem(T item, int dequeueCount, string popReceipt, IReadOnlyDictionary<string, object> properties, Func<Task> extendLeaseAsync)
Parameters
| Type | Name | Description |
|---|---|---|
| T | item | |
| System.Int32 | dequeueCount | |
| System.String | popReceipt | |
| System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> | properties | |
| System.Func<System.Threading.Tasks.Task> | extendLeaseAsync |
Properties
| Improve this Doc View SourceDequeueCount
Declaration
public int DequeueCount { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ExtendLeaseAsync
Declaration
public Func<Task> ExtendLeaseAsync { get; }
Property Value
| Type | Description |
|---|---|
| System.Func<System.Threading.Tasks.Task> |
Item
Declaration
public T Item { get; }
Property Value
| Type | Description |
|---|---|
| T |
PopReciept
Declaration
public string PopReciept { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Properties
Declaration
public IReadOnlyDictionary<string, object> Properties { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IReadOnlyDictionary<System.String, System.Object> |