Beispiel #1
0
 public async void CrashAsync(object sender, EventArgs e)
 {
     await FakeService.DoStuffInBackground();
 }
Beispiel #2
0
        public async void CrashAsync(object sender, EventArgs e)
        {
            Task.Delay(BeforeCrashSleepTime).Wait();

            await FakeService.DoStuffInBackground().ConfigureAwait(false);
        }