TaskSchedulerException Constructor (Exception)

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

Initializes a new instance of the TaskSchedulerException class using the default error message and a reference to the inner exception that is the cause of this exception.

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

Syntax

'Declaration
Public Sub New ( _
    innerException As Exception _
)
public TaskSchedulerException(
    Exception innerException
)

Parameters

  • innerException
    Type: System.Exception
    The exception that is the cause of the current exception.

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.