EndDelete() private method

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