StorageResourceItem.CopyFromUriAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Uploads/copy the blob from a url
protected internal abstract System.Threading.Tasks.Task CopyFromUriAsync (Azure.Storage.DataMovement.StorageResourceItem sourceResource, bool overwrite, long completeLength, Azure.Storage.DataMovement.StorageResourceCopyFromUriOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CopyFromUriAsync : Azure.Storage.DataMovement.StorageResourceItem * bool * int64 * Azure.Storage.DataMovement.StorageResourceCopyFromUriOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Friend MustOverride Function CopyFromUriAsync (sourceResource As StorageResourceItem, overwrite As Boolean, completeLength As Long, Optional options As StorageResourceCopyFromUriOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- sourceResource
- StorageResourceItem
- overwrite
- Boolean
If set to true, will overwrite the blob if exists.
- completeLength
- Int64
The expected complete length of the blob.
- cancellationToken
- CancellationToken
Optional CancellationToken to propagate notifications that the operation should be cancelled.