Newest questions tagged c# - Stack Overflow
Why does async void event handler swallow exceptions in .NET, and what's the proper pattern for async event handling?
I'm building a WPF application with an async button click handler. When an exception occurs inside the async method, my app crashes without hitting the global exception handler. Here's a minimal reproduction: public part
View original source