C#
C++
F#
VB
CloudBlobContainer.::..SetMetadataAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Initiates an asynchronous operation that sets container's user-defined metadata.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task SetMetadataAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ SetMetadataAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract SetMetadataAsync : cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override SetMetadataAsync : cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function SetMetadataAsync ( cancellationToken As CancellationToken ) As Task
Parameters
- 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.TaskA Task object that represents the asynchronous operation.
See Also
SetMetadataAsync Overload
CloudBlobContainer Class
Microsoft.WindowsAzure.Storage.Blob Namespace