/// <summary> /// Abort copy operation on specified blob /// </summary> /// <param name="blob">CloudBlob object</param> /// <param name="copyId">Copy id</param> /// <param name="accessCondition">Access condition</param> /// <param name="options">Blob request options</param> /// <param name="operationContext">Operation context</param> public void AbortCopy(CloudBlob blob, string copyId, AccessCondition accessCondition, BlobRequestOptions options, OperationContext operationContext) { try { blob.AbortCopy(copyId, accessCondition, options, operationContext); } catch (StorageException e) { if (e.IsSuccessfulResponse()) { //The abort operation is successful, although get an exception return; } else { throw; } } }