AggregateException Constructor (Exception[])

AggregateException Constructor (Exception())

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the AggregateException class with references to the inner exceptions that are the cause of this exception.

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

'Declaration
Public Sub New ( _
	ParamArray innerExceptions As Exception() _
)

Parameters

innerExceptions
Type: System.Exception ()
The exceptions that are the cause of the current exception.

ExceptionCondition
ArgumentNullException

The innerExceptions argument is null.

ArgumentException

An element of innerExceptions is null.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft