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