/// <summary> /// Deletes all the sync errors from local database /// </summary> public async Task DeleteErrorsAsync() { MobileServiceLocalStoreException toThrow = null; try { await this.Store.DeleteAsync(new MobileServiceTableQueryDescription(MobileServiceLocalSystemTables.SyncErrors)); } catch (Exception ex) { toThrow = new MobileServiceLocalStoreException(Resources.SyncStore_FailedToDeleteError, ex); } if (toThrow != null) { throw toThrow; } }
/// <summary> /// Deletes all the sync errors from local database /// </summary> public async Task DeleteErrorsAsync() { MobileServiceLocalStoreException toThrow = null; try { await this.Store.DeleteAsync(new MobileServiceTableQueryDescription(MobileServiceLocalSystemTables.SyncErrors)); } catch (Exception ex) { toThrow = new MobileServiceLocalStoreException("Failed to delete error from the local store.", ex); } if (toThrow != null) { throw toThrow; } }