C#
C++
F#
VB
CloudFile.::..StartCopyAsync Method (CloudBlob, CancellationToken)(CloudBlob^, CancellationToken)(CloudBlob, CancellationToken)(CloudBlob, CancellationToken)
Initiates an asynchronous operation to start copying a blob's contents, properties, and metadata to this Azure file.
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute] public virtual Task<string> StartCopyAsync( CloudBlob source, CancellationToken cancellationToken )
C++
public: [DoesServiceRequestAttribute] virtual Task<String^>^ StartCopyAsync( CloudBlob^ source, CancellationToken cancellationToken )
[<DoesServiceRequestAttribute>] abstract StartCopyAsync : source:CloudBlob * cancellationToken:CancellationToken -> Task<string> [<DoesServiceRequestAttribute>] override StartCopyAsync : source:CloudBlob * cancellationToken:CancellationToken -> Task<string>
<DoesServiceRequestAttribute> Public Overridable Function StartCopyAsync ( source As CloudBlob, cancellationToken As CancellationToken ) As Task(Of String)
Parameters
- source
-
Type:
Microsoft.WindowsAzure.Storage.Blob.CloudBlobMicrosoft.WindowsAzure.Storage.Blob::CloudBlob^Microsoft.WindowsAzure.Storage.Blob.CloudBlobMicrosoft.WindowsAzure.Storage.Blob.CloudBlob
The CloudBlob that is the source blob.
- 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.