Click or drag to resize
Claim Constructor
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.Queues
Assembly: 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
)

Parameters

service
Type: net.openstack.Core.Providers.IQueueingService
The queueing service.
queueName
Type: net.openstack.Core.Domain.Queues.QueueName
The name of the queue.
location
Type: System.Uri
The absolute URI of the claim resource. If no claim was allocated by the server, this value is null.
timeToLive
Type: System.TimeSpan
The time to live of the claim.
age
Type: System.TimeSpan
The age of the claim.
owner
Type: System.Boolean
true if the current instance owns the claim (and is responsible for releasing it); otherwise, false.
messages
Type: System.Collections.Generic.IEnumerable<QueuedMessage>
A collection of messages belonging to the claim.
Exceptions
ExceptionCondition
ArgumentNullException If service is null.

-or-

If queueName is null.

-or-

If messages is null.

Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also