private async Task StartCopyFromBlob(long taskId, IStorageBlobManagement destChannel, CloudPageBlob srcBlob, CloudPageBlob destBlob)
 {
     try
     {
         await StartCopyFromUri(taskId, destChannel, srcBlob.GenerateUriWithCredentials(), destBlob).ConfigureAwait(false);
     }
     catch (StorageException ex)
     {
         if (0 == string.Compare(ex.Message, BlobTypeMismatch, StringComparison.OrdinalIgnoreCase))
         {
             // Current use error message to decide whether it caused by blob type mismatch,
             // We should ask xscl to expose an error code for this..
             // Opened workitem 1487579 to track this.
             throw new InvalidOperationException(Resources.DestinationBlobTypeNotMatch);
         }
         else
         {
             throw;
         }
     }
 }