示例#1
0
 private async Task DisablePush(PushClient helper, Uri uri)
 {
     LoadingText = "Disabling...";
     await Utils.SuppressAsync <TimeoutException>(async() => {
         await AsyncTasks.Within2(helper.Deregister(uri), TimeSpan.FromSeconds(5));
     });
 }