Constructors
-
Aggregate
Exception() Initializes a new instance of the AggregateException class with a system-supplied message that describes the error. -
Aggregate
Exception(Exception[]) Initializes a new instance of the AggregateException class with references to the inner exceptions that are the cause of this exception. -
Aggregate
Exception(IEnumerable<Exception>) Initializes a new instance of the AggregateException class with references to the inner exceptions that are the cause of this exception. -
Aggregate
Exception(Serialization protected Initializes a new instance of the AggregateException class with serialized data.Info, Streaming Context) -
Aggregate
Exception(String) Initializes a new instance of the AggregateException class with a specified message that describes the error. -
Aggregate
Exception(String, Initializes a new instance of the AggregateException class with a specified error message and a reference to the inner exception that is the cause of this exception.Exception) -
Aggregate
Exception(String, Initializes a new instance of the AggregateException class with a specified error message and references to the inner exceptions that are the cause of this exception.Exception[]) -
Aggregate
Exception(String, Initializes a new instance of the AggregateException class with a specified error message and references to the inner exceptions that are the cause of this exception.IEnumerable<Exception>)
Methods
- Flatten() Flattens an AggregateException instances into a single, new instance.
-
Get
Base virtual Returns the AggregateException that is the root cause of this exception.Exception() -
Get
Object virtual Initializes a new instance of the AggregateException class with serialized data.Data(Serialization Info, Streaming Context) -
Handle(Func<Exception,
Boolean>) Invokes a handler on each Exception contained by this AggregateException. -
To
String() virtual Creates and returns a string representation of the current AggregateException.
Properties
-
Inner
Exceptions Gets a read-only collection of the Exception instances that caused the current exception. - Message virtual Gets a message that describes the exception.