EndDelete() private method

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