Skip to content

Commit a480f04

Browse files
Update the remarks according to the current behavior (dotnet#8738)
The exception escalation policy terminates by default the process only on the .NET Framework 4.0. From the .NET Framework 4.5 onwards the default behavior is to keep the process alive. The remarks should be updated to reflect the current policy.
1 parent 1e0f2ca commit a480f04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml/System.Threading.Tasks/UnobservedTaskExceptionEventArgs.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<format type="text/markdown"><![CDATA[
5252
5353
## Remarks
54-
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.
54+
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. For more information, see the [Remarks](/dotnet/api/system.threading.tasks.taskscheduler.unobservedtaskexception#remarks) of the <see cref="E:System.System.Threading.Tasks.TaskScheduler.UnobservedTaskException" /> event.
5555
5656
]]></format>
5757
</remarks>

0 commit comments

Comments
 (0)