Partager via


UnobservedTaskExceptionEventArgs Constructor

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Initializes a new instance of the UnobservedTaskExceptionEventArgs class with the unobserved exception.

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

Syntax

'Declaration
Public Sub New ( _
    exception As AggregateException _
)
public UnobservedTaskExceptionEventArgs(
    AggregateException exception
)

Parameters

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.