© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
16 replies
Tiger

catching an exception in an async Task [Answered]

I can't seem to catch an exception that is thrown in an async Task, I put try/catch within the async task, when calling the task I put 'ConfigureAwait(true)', and I await it, I also have a catch in the parent method
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

catching exception but skipping an iteration
C#CC# / help
2y ago
✅ async/await Task in an AWS Lambda
C#CC# / help
3y ago
✅ async Task throws exception if not explicitly defined
C#CC# / help
3y ago
✅ Is throwing and catching an exception in an UnmanagedCallersOnly method valid?
C#CC# / help
9mo ago