C#
C++
F#
VB
CloudAppendBlob.::..CreateOrReplaceAsync Method (CancellationToken)(CancellationToken)(CancellationToken)(CancellationToken)
Initiates an asynchronous operation to create an append blob. If the blob already exists, this operation will overwrite it. To throw an exception if the blob exists, instead of overwriting, use CreateOrReplaceAsync.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task CreateOrReplaceAsync( CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ CreateOrReplaceAsync( CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract CreateOrReplaceAsync : cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override CreateOrReplaceAsync : cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function CreateOrReplaceAsync ( 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
CreateOrReplaceAsync Overload
CloudAppendBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace