System.AggregateException Class

Represents one or more errors that occur during application execution.

See Also: AggregateException Members

Syntax

[System.Diagnostics.DebuggerDisplay("Count = {InnerExceptions.Count}")]
public class AggregateException : Exception

Remarks

AggregateException is used to consolidate multiple failures into a single, throwable exception object. It is used extensively in the Task Parallel Library and Parallel LINQ (PLINQ). For additional information, see the tp://go.microsoft.com/fwlink/p/?LinkId=259617 entry in the .NET Matters blog. For an example, see How to: Handle Exceptions Thrown by Tasks and How to: Handle Exceptions in a PLINQ Query.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0