C#
C++
F#
VB
CloudBlob.::..AbortCopyAsync Method (String, CancellationToken)(String^, CancellationToken)(String, CancellationToken)(String, CancellationToken)
Initiates an asynchronous operation to abort an ongoing blob copy operation.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task AbortCopyAsync( string copyId, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task^ AbortCopyAsync( String^ copyId, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract AbortCopyAsync : copyId:string * cancellationToken:CancellationToken -> Task [<DoesServiceRequestAttribute>] override AbortCopyAsync : copyId:string * cancellationToken:CancellationToken -> Task
<DoesServiceRequestAttribute> Public Overridable Function AbortCopyAsync ( copyId As String, cancellationToken As CancellationToken ) As Task
Parameters
- copyId
-
Type:
System.StringSystem::String^System.StringSystem.String
A string identifying the copy 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.TaskA Task object that represents the asynchronous operation.