Constructor AggregateException
AggregateException(Exception[])
It takes the exceptions that are the cause of the current exception as parameter.
Declaration
public AggregateException(params Exception[] exceptions)
Parameters
Type | Name | Description |
---|---|---|
Exception[] | exceptions | The exceptions that are the cause of the current exception |
AggregateException(ArrayList)
It takes the exceptions that are the cause of the current exception as parameter.
Declaration
public AggregateException(ArrayList exceptions)
Parameters
Type | Name | Description |
---|---|---|
ArrayList | exceptions | The exceptions that are the cause of the current exception |
AggregateException(String, ArrayList)
Overloaded constructor, takes the reason as additional parameter.
Declaration
public AggregateException(string reason, ArrayList exceptions)
Parameters
Type | Name | Description |
---|---|---|
System.String | reason | The reason for exception |
ArrayList | exceptions | The exceptions that are the cause of the current exception |
AggregateException(Int32, String, ArrayList)
overloaded constructor
Declaration
public AggregateException(int errorCode, string reason, ArrayList exceptions)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
ArrayList | exceptions | The exceptions that are the cause of the current exception |
AggregateException(Int32, String, ArrayList, String)
overloaded constructor
Declaration
public AggregateException(int errorCode, string reason, ArrayList exceptions, string stackTrace)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | errorCode | assigned errorcode |
System.String | reason | exception message |
ArrayList | exceptions | The exceptions that are the cause of the current exception |
System.String | stackTrace | stacktrace for exception |
AggregateException(SerializationInfo, StreamingContext)
overloaded constructor, manual serialization.
Declaration
protected AggregateException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |