.NET Framework Class Library |
UnobservedTaskExceptionEventArgs..::.SetObserved Method |
UnobservedTaskExceptionEventArgs Class See Also Send Feedback |
Marks the Exception as "observed," thus preventing it
from triggering exception escalation policy which, by default, terminates the process.
Namespace:
System.Threading.Tasks
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub SetObserved |
C# |
---|
public void SetObserved() |