This API is preliminary and subject to change.
Initializes a new instance of the
Claim class using the provided values.
Namespace: net.openstack.Core.Domain.QueuesAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public Claim(
IQueueingService service,
QueueName queueName,
Uri location,
TimeSpan timeToLive,
TimeSpan age,
bool owner,
IEnumerable<QueuedMessage> messages
)
Public Sub New (
service As IQueueingService,
queueName As QueueName,
location As Uri,
timeToLive As TimeSpan,
age As TimeSpan,
owner As Boolean,
messages As IEnumerable(Of QueuedMessage)
)
public:
Claim(
IQueueingService^ service,
QueueName^ queueName,
Uri^ location,
TimeSpan timeToLive,
TimeSpan age,
bool owner,
IEnumerable<QueuedMessage^>^ messages
)
new :
service : IQueueingService *
queueName : QueueName *
location : Uri *
timeToLive : TimeSpan *
age : TimeSpan *
owner : bool *
messages : IEnumerable<QueuedMessage> -> Claim
Parameters
- service
- Type: net.openstack.Core.ProvidersIQueueingService
The queueing service. - queueName
- Type: net.openstack.Core.Domain.QueuesQueueName
The name of the queue. - location
- Type: SystemUri
The absolute URI of the claim resource. If no claim was allocated by the server, this value is . - timeToLive
- Type: SystemTimeSpan
The time to live of the claim. - age
- Type: SystemTimeSpan
The age of the claim. - owner
- Type: SystemBoolean
if the current instance owns the claim (and is responsible for releasing it); otherwise, . - messages
- Type: System.Collections.GenericIEnumerableQueuedMessage
A collection of messages belonging to the claim.
Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also