EndDelete() private method

private EndDelete ( IAsyncResult asyncResult ) : void
asyncResult IAsyncResult
return void
Exemplo n.º 1
0
 static Action<IAsyncResult> EndDelete(CloudBlobContainer c)
 {
     return result =>
         {
             try
             {
                 c.EndDelete(result);
             }
             catch (StorageClientException ex)
             {
                 if (ex.ErrorCode == StorageErrorCode.ContainerNotFound)
                     return;
                 throw;
             }
         };
 }