-
Couldn't load subscription status.
- Fork 1.6k
Open
Labels
Pri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityPri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.Threading.Tasksdoc-bugProblem with the content; needs to be fixedProblem with the content; needs to be fixedwaiting-on-feedbackIndicates PRs that are waiting for feedback from SMEs before they can be mergedIndicates PRs that are waiting for feedback from SMEs before they can be merged
Milestone
Description
For UnobservedTaskExceptionEventArgs.SetObserved() the remarks state:
The Exception property is used to examine the exception without marking it as observed, whereas the xref:System.Threading.Tasks.UnobservedTaskExceptionEventArgs.SetObserved%2A method is used to mark the exception as observed. Marking the exception as observed prevents it from triggering exception escalation policy which, by default, terminates the process.
But "by default" is no longer true. The default does not terminate the process since .net 4.5 because ThrowUnobservedTaskExceptions is now false by default.
Metadata
Metadata
Assignees
Labels
Pri2Indicates issues/PRs that are medium priorityIndicates issues/PRs that are medium priorityPri3Indicates issues/PRs that are low priorityIndicates issues/PRs that are low priorityarea-System.Threading.Tasksdoc-bugProblem with the content; needs to be fixedProblem with the content; needs to be fixedwaiting-on-feedbackIndicates PRs that are waiting for feedback from SMEs before they can be mergedIndicates PRs that are waiting for feedback from SMEs before they can be merged