public void Run() { var instance = new Target(); instance.MethodWithThrow(); //run and have a look at the debug window Thread.Sleep(10); }
public async void Run() { var instance = new Target(); await instance.MethodWithThrow(); //run and have a look at your Raygun dashboard Thread.Sleep(10); }
public async Task Run() { try { var instance = new Target(); await instance.MethodWithThrow().ConfigureAwait(false); //run and have a look at the debug window } catch { } }
public async Task Run() { try { var instance = new Target(); await instance.MethodWithThrow().ConfigureAwait(false); //run and have a look at your Raygun dashboard Thread.Sleep(10); } catch { } }
public Task Run() { var instance = new Target(); return instance.MethodWithThrow(); //run and have a look at the debug window }