Last active
December 15, 2015 20:40
-
-
Save ThatRendle/5320153 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var account = new CloudStorageAccount(credentials); | |
var tasks = new List<Task>(); | |
foreach (var blobPath in blobPaths) | |
{ | |
var client = account.CreateCloudBlobClient(); | |
var blob = await client.GetBlobReferenceFromServerAsync(blobPath); | |
tasks.Add(blob.DeleteIfExistsAsync()); | |
} | |
await Task.WhenAll(tasks); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var account = new CloudStorageAccount(credentials); | |
var client = account.CreateCloudBlobClient(); | |
var tasks = new List<Task>(); | |
foreach (var blobPath in blobPaths) | |
{ | |
var blob = await client.GetBlobReferenceFromServerAsync(blobPath); | |
tasks.Add(blob.DeleteIfExistsAsync()); | |
} | |
await Task.WhenAll(tasks); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment