CloudQueueClient.SetServicePropertiesAsync Method (ServiceProperties, QueueRequestOptions, OperationContext, CancellationToken) (Microsoft.WindowsAzure.Storage.Queue)
From Microsoft.WindowsAzure.Storage.Queue
C#
C++
F#
VB
CloudQueueClient.::..SetServicePropertiesAsync Method (ServiceProperties, QueueRequestOptions, OperationContext, CancellationToken)(ServiceProperties^, QueueRequestOptions^, OperationContext^, CancellationToken)(ServiceProperties, QueueRequestOptions, OperationContext, CancellationToken)(ServiceProperties, QueueRequestOptions, OperationContext, CancellationToken)
Gets the properties of the blob service.
Namespace:
Microsoft.WindowsAzure.Storage.Queue
Assembly:
Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
public virtual Task SetServicePropertiesAsync(
ServiceProperties properties,
QueueRequestOptions requestOptions,
OperationContext operationContext,
CancellationToken cancellationToken
)
C++
public:
virtual Task^ SetServicePropertiesAsync(
ServiceProperties^ properties,
QueueRequestOptions^ requestOptions,
OperationContext^ operationContext,
CancellationToken cancellationToken
)
abstract SetServicePropertiesAsync :
properties:ServiceProperties *
requestOptions:QueueRequestOptions *
operationContext:OperationContext *
cancellationToken:CancellationToken -> Task
override SetServicePropertiesAsync :
properties:ServiceProperties *
requestOptions:QueueRequestOptions *
operationContext:OperationContext *
cancellationToken:CancellationToken -> Task
Public Overridable Function SetServicePropertiesAsync (
properties As ServiceProperties,
requestOptions As QueueRequestOptions,
operationContext As OperationContext,
cancellationToken As CancellationToken
) As Task
Parameters
- properties
-
Type:
Microsoft.WindowsAzure.Storage.Shared.Protocol.ServicePropertiesMicrosoft.WindowsAzure.Storage.Shared.Protocol::ServiceProperties^Microsoft.WindowsAzure.Storage.Shared.Protocol.ServicePropertiesMicrosoft.WindowsAzure.Storage.Shared.Protocol.ServiceProperties
The queue service properties.
- requestOptions
-
Type:
Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptionsMicrosoft.WindowsAzure.Storage.Queue::QueueRequestOptions^Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptionsMicrosoft.WindowsAzure.Storage.Queue.QueueRequestOptions
A QueueRequestOptions object that specifies additional options for the request. Specifying null will use the default request options from the associated service client (CloudQueueClient).
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type:
System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskThe blob service properties.
See Also
SetServicePropertiesAsync Overload
CloudQueueClient Class
Microsoft.WindowsAzure.Storage.Queue Namespace
Return to top
Gets the properties of the blob service.
Syntax
public virtual Task SetServicePropertiesAsync( ServiceProperties properties, QueueRequestOptions requestOptions, OperationContext operationContext, CancellationToken cancellationToken )
C++
public: virtual Task^ SetServicePropertiesAsync( ServiceProperties^ properties, QueueRequestOptions^ requestOptions, OperationContext^ operationContext, CancellationToken cancellationToken )
abstract SetServicePropertiesAsync : properties:ServiceProperties * requestOptions:QueueRequestOptions * operationContext:OperationContext * cancellationToken:CancellationToken -> Task override SetServicePropertiesAsync : properties:ServiceProperties * requestOptions:QueueRequestOptions * operationContext:OperationContext * cancellationToken:CancellationToken -> Task
Public Overridable Function SetServicePropertiesAsync ( properties As ServiceProperties, requestOptions As QueueRequestOptions, operationContext As OperationContext, cancellationToken As CancellationToken ) As Task
Parameters
- properties
-
Type:
Microsoft.WindowsAzure.Storage.Shared.Protocol.ServicePropertiesMicrosoft.WindowsAzure.Storage.Shared.Protocol::ServiceProperties^Microsoft.WindowsAzure.Storage.Shared.Protocol.ServicePropertiesMicrosoft.WindowsAzure.Storage.Shared.Protocol.ServiceProperties
The queue service properties.
- requestOptions
-
Type:
Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptionsMicrosoft.WindowsAzure.Storage.Queue::QueueRequestOptions^Microsoft.WindowsAzure.Storage.Queue.QueueRequestOptionsMicrosoft.WindowsAzure.Storage.Queue.QueueRequestOptions
A QueueRequestOptions object that specifies additional options for the request. Specifying null will use the default request options from the associated service client (CloudQueueClient).
- operationContext
-
Type:
Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage::OperationContext^Microsoft.WindowsAzure.Storage.OperationContextMicrosoft.WindowsAzure.Storage.OperationContext
An OperationContext object that represents the context for the current operation.
- cancellationToken
-
Type:
System.Threading.CancellationTokenSystem.Threading::CancellationTokenSystem.Threading.CancellationTokenSystem.Threading.CancellationToken
A CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.TaskSystem.Threading.Tasks::Task^System.Threading.Tasks.TaskSystem.Threading.Tasks.TaskThe blob service properties.
See Also
SetServicePropertiesAsync Overload
CloudQueueClient Class
Microsoft.WindowsAzure.Storage.Queue Namespace