static async Task <OldCopyStatus> CheckOldSDKBlobStatus(OldCloudBlockBlob blob) { await blob.FetchAttributesAsync(); while (blob.CopyState.Status == OldCopyStatus.Pending) { await blob.FetchAttributesAsync(); Thread.Sleep(500); } return(blob.CopyState.Status); }
public long GetSize() { if (_delegateContent.Properties.Length < 0) { _delegateContent.FetchAttributesAsync().Wait(); } return(_delegateContent.Properties.Length); }