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.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
ExceptionCondition
ArgumentNullException If service is .

-or-

If queueName is .

-or-

If messages is .

Version Information

.NET Framework

Supported in: 4.5

openstack.net

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