Share via


CloudBlockBlob.StartCopyFromBlobAsync Method (CloudBlockBlob, CancellationToken)

 

Note: This API is now obsolete.

Initiates an asynchronous operation to start copying another block blob's contents, properties, and metadata to this block blob.

Namespace:   Microsoft.WindowsAzure.Storage.Blob
Assembly:  Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Syntax

[ObsoleteAttribute("Deprecated this method in favor of StartCopyAsync.")]
[DoesServiceRequestAttribute]
public Task<string> StartCopyFromBlobAsync(
    CloudBlockBlob source,
    CancellationToken cancellationToken
)
<ObsoleteAttribute("Deprecated this method in favor of StartCopyAsync.")>
<DoesServiceRequestAttribute>
Public Function StartCopyFromBlobAsync (
    source As CloudBlockBlob,
    cancellationToken As CancellationToken
) As Task(Of String)

Parameters

Return Value

Type: System.Threading.Tasks.Task<String>

A Task<TResult> object of type string that represents the asynchronous operation.

See Also

StartCopyFromBlobAsync Overload
CloudBlockBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace

Return to top