Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ~TaskExceptionHolder()

System.Threading.Tasks.TaskExceptionHolder.~TaskExceptionHolder ( )
inlineprivate

Definition at line 23 of file TaskExceptionHolder.cs.

24 {
25 if (m_faultExceptions != null && !m_isHandled)
26 {
27 AggregateException exception = new AggregateException(SR.TaskExceptionHolder_UnhandledException, m_faultExceptions);
28 UnobservedTaskExceptionEventArgs ueea = new UnobservedTaskExceptionEventArgs(exception);
29 TaskScheduler.PublishUnobservedTaskException(m_task, ueea);
30 }
31 }
volatile List< ExceptionDispatchInfo > m_faultExceptions

References System.exception, System.Threading.Tasks.TaskExceptionHolder.m_faultExceptions, System.Threading.Tasks.TaskExceptionHolder.m_isHandled, System.Threading.Tasks.TaskExceptionHolder.m_task, System.Threading.Tasks.TaskScheduler.PublishUnobservedTaskException(), and System.SR.TaskExceptionHolder_UnhandledException.