private async void OnStoreOperationCompleted(StoreOperationCompletedEvent storeOperationEvent)
 {
     switch (storeOperationEvent.Operation.Kind)
     {
         case LocalStoreOperationKind.Insert:
         case LocalStoreOperationKind.Update:
         case LocalStoreOperationKind.Upsert:
             if (storeOperationEvent.Operation.Source == StoreOperationSource.ServerPull
                 || storeOperationEvent.Operation.Source == StoreOperationSource.ServerPush)
             {
                 await this.fileSyncContext.PullFilesAsync(storeOperationEvent.Operation.TableName, storeOperationEvent.Operation.RecordId);                        
             }
             break;
         case LocalStoreOperationKind.Delete:
             await this.fileSyncContext.MetadataStore.PurgeAsync(storeOperationEvent.Operation.TableName, storeOperationEvent.Operation.RecordId);
             break;
         default:
             break;
     }
 }
 private async void StoreOperationEventHandler(StoreOperationCompletedEvent obj)
 {
     await Task.Delay(500);
     PendingChanges = jobService.MobileService.SyncContext.PendingOperations;
 }
 private async void StoreOperationEventHandler(StoreOperationCompletedEvent mobileServiceEvent)
 {
     await Task.Delay(500);
     PendingChanges = manager.MobileServiceClient.SyncContext.PendingOperations;
     IsStatusBarVisible = PendingChanges > 0;
 }