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

◆ GetExceptions()

AggregateException System.Threading.Tasks.Task< TResult >.GetExceptions ( bool includeTaskCanceledExceptions)
inlineprivateinherited

Definition at line 1762 of file Task.cs.

1763 {
1764 Exception ex = null;
1766 {
1767 ex = new TaskCanceledException(this);
1768 ex.SetCurrentStackTrace();
1769 }
1771 {
1773 }
1774 if (ex != null)
1775 {
1776 return new AggregateException(ex);
1777 }
1778 return null;
1779 }
volatile TaskExceptionHolder m_exceptionsHolder
Definition Task.cs:458
ContingentProperties m_contingentProperties
Definition Task.cs:964
AggregateException? Exception
Definition Task.cs:1014

References System.Threading.Tasks.Task< TResult >.ExceptionRecorded, System.Threading.Tasks.Task< TResult >.IsCanceled, System.Threading.Tasks.Task< TResult >.m_contingentProperties, and System.Threading.Tasks.Task< TResult >.ContingentProperties.m_exceptionsHolder.

Referenced by System.Threading.Tasks.Task< TResult >.AddExceptionsForCompletedTask(), and System.Threading.Tasks.Task< TResult >.ThrowIfExceptional().