Is there somewhere a class that allows rollback with transaction to azure blockblob actions?
I would like to do this:
CloudBlockBlob blockBlob; private void UploadPicture(Stream iStream) { using(var ts = new TransactionScope()) { blockBlob.UploadFromStream(iStream); throw new Exception(); ts.Complete(); } }
When an exception is a raise, the downloaded file is not canceled. If this is not possible in the area of transactions, how should I proceed?
source share