-
-
Save lgolubyev/b032c98ef124fb8c7f5ecd6f9ce057c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
try | |
{ | |
// Do something.. | |
} | |
catch (TaskCanceledException ex) | |
{ | |
// Take action | |
} | |
catch (TaskSchedulerException ex) | |
{ | |
// Take action | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment