CloudPageBlob.StartCopyFromBlobAsync Method (CloudPageBlob, CancellationToken)
Note: This API is now obsolete.
Initiates an asynchronous operation to start copying another blob's contents, properties, and metadata to this page 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(
CloudPageBlob source,
CancellationToken cancellationToken
)
<ObsoleteAttribute("Deprecated this method in favor of StartCopyAsync.")>
<DoesServiceRequestAttribute>
Public Function StartCopyFromBlobAsync (
source As CloudPageBlob,
cancellationToken As CancellationToken
) As Task(Of String)
Parameters
source
Type: Microsoft.WindowsAzure.Storage.Blob.CloudPageBlobThe CloudPageBlob that is 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
CloudPageBlob Class
Microsoft.WindowsAzure.Storage.Blob Namespace
Return to top