Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7710849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T01:13:35+00:00 2026-06-01T01:13:35+00:00

I have a question regarding the .NET Task Parallel Library’s error handling. In which

  • 0

I have a question regarding the .NET Task Parallel Library’s error handling. In which cases will an AggregateException hold more than 1 inner exception? I know this can happen for ex. when calling Task.WaitAll(anArrayOfTasks), and 2 or more tasks are throwing an exception, but are there any other cases (i.e., can it be possible that, if only waiting for 1 task to finish, you get more than 1 inner exceptions)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T01:13:37+00:00Added an answer on June 1, 2026 at 1:13 am

    A task can raise an aggregate exception which inherently can contain multiple inner exceptions. This means that you should always consider an aggregate exception with multiple inner exceptions when working with tasks. Even if you’re not using Task.WaitAll, the task you’re waiting on might internally wait for multiple subtasks. Alternatively, the task your waiting on might return multiple exceptions. You simply can’t know as a caller.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question regarding handling errors in a J2EE application. Our current application
I have a question regarding .NET regular expressions and how it defines matches. I
I have a question regarding the ASP.NET 3.5 Treeview and Treenodes. I'd like to
I am new to ASP.NET MVC and I have a question regarding viewing entity
I have a question regarding Xcode. I found a tutorial on the net that
We have a question regarding VB.Net 2008. We are used control array in vb.net
bit of noob question regarding .Net and C#. I have a function that registers
I have a question regarding the application state in asp.net. As i know, data
I have one question regarding using JQuery UI tab control in the asp.net mvc
I have a question regarding Caching. I have a typical n-tier ASP.NET web app.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.