public async Task EnqueueAsync(MobileServiceTableOperation op) { op.Sequence = Interlocked.Increment(ref this.sequenceId); await this.store.UpsertAsync(MobileServiceLocalSystemTables.OperationQueue, op.Serialize(), fromServer: false); Interlocked.Increment(ref this.pendingOperations); }