CloudBlob.StartCopyFromBlobAsync Method (Uri, CancellationToken)
Note: This API is now obsolete.
Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata to this blob.
Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Syntax
[DoesServiceRequestAttribute]
[ObsoleteAttribute("Deprecated this method in favor of StartCopyAsync.")]
public Task<string> StartCopyFromBlobAsync(
Uri source,
CancellationToken cancellationToken
)
<DoesServiceRequestAttribute>
<ObsoleteAttribute("Deprecated this method in favor of StartCopyAsync.")>
Public Function StartCopyFromBlobAsync (
source As Uri,
cancellationToken As CancellationToken
) As Task(Of String)
Parameters
source
Type: System.UriThe Uri of the source blob.
cancellationToken
Type: System.Threading.CancellationTokenA CancellationToken to observe while waiting for a task to complete.
Return Value
Type: System.Threading.Tasks.Task<String>
A Task<TResult> object of type string that represents the asynchronous operation.
See Also
StartCopyFromBlobAsync Overload
CloudBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace
Return to top