protected override void PerformUpload() { Compressed = false; var copyManager = new BlobCopyManager(); copyManager.Start(Blob, _sourceBlob); copyManager.WaitForCompletion(); }
void DuplicateForLoadBalancing() { var blobCopyManager = new BlobCopyManager(); for (var i = 0; i < Options.AdditionalBlobsForLoadBalancing; i++) { var newBlob = Store.Container.GetBlockBlobReference(string.Format("{0}-{1}", FileKey, i + 1)); IgnoreConflict(() => blobCopyManager.Start(newBlob, Blob)); } blobCopyManager.WaitForCompletion(); }