C#
C++
F#
VB
CloudBlockBlob.::..StartCopyAsync Method (CloudBlockBlob, CancellationToken)(CloudBlockBlob^, CancellationToken)(CloudBlockBlob, CancellationToken)(CloudBlockBlob, CancellationToken)
Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<string> StartCopyAsync( CloudBlockBlob source, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<String^>^ StartCopyAsync( CloudBlockBlob^ source, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract StartCopyAsync : source:CloudBlockBlob * cancellationToken:CancellationToken -> Task<string> [<DoesServiceRequestAttribute>] override StartCopyAsync : source:CloudBlockBlob * cancellationToken:CancellationToken -> Task<string>
<DoesServiceRequestAttribute> Public Overridable Function StartCopyAsync ( source As CloudBlockBlob, cancellationToken As CancellationToken ) As Task(Of String)
Parameters
- source
-
Type:
Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlobMicrosoft.WindowsAzure.Storage.Blob::CloudBlockBlob^Microsoft.WindowsAzure.Storage.Blob.CloudBlockBlobMicrosoft.WindowsAzure.Storage.Blob.CloudBlockBlob
A CloudBlockBlob object.
- 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.Task<String>System.Threading.Tasks::Task<String^>^System.Threading.Tasks.Task<String>System.Threading.Tasks.Task(Of String)A Task<TResult><TResult><'TResult>(Of TResult) object of type string that represents the asynchronous operation.