CloudQueuesProviderSetQueueMetadataAsyncT Method |
This API is preliminary and subject to change.
Sets the metadata associated with a queue.
Namespace: net.openstack.Providers.RackspaceAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public Task SetQueueMetadataAsync<T>(
QueueName queueName,
T metadata,
CancellationToken cancellationToken
)
where T : class
Public Function SetQueueMetadataAsync(Of T As Class) (
queueName As QueueName,
metadata As T,
cancellationToken As CancellationToken
) As Task
public:
generic<typename T>
where T : ref class
virtual Task^ SetQueueMetadataAsync(
QueueName^ queueName,
T metadata,
CancellationToken cancellationToken
) sealed
abstract SetQueueMetadataAsync :
queueName : QueueName *
metadata : 'T *
cancellationToken : CancellationToken -> Task when 'T : not struct
override SetQueueMetadataAsync :
queueName : QueueName *
metadata : 'T *
cancellationToken : CancellationToken -> Task when 'T : not struct
Parameters
- queueName
- Type: net.openstack.Core.Domain.QueuesQueueName
The queue name. - metadata
- Type: T
The metadata to associate with the queue. - cancellationToken
- Type: System.ThreadingCancellationToken
The CancellationToken that the task will observe.
Type Parameters
- T
- The type of data to associate with the queue.
Return Value
Type:
TaskA
Task object representing the asynchronous operation.
Implements
IQueueingServiceSetQueueMetadataAsyncT(QueueName, T, CancellationToken)Exceptions Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also