C#
C++
F#
VB
CloudBlobContainer.::..CreateAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Initiates an asynchronous operation that creates a container.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task CreateAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ CreateAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract CreateAsync : cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override CreateAsync : cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function CreateAsync ( 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.