TaskSchedulerException Constructor (String, Exception)

Task Parallel System.Threading

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

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	message As String, _
	innerException As Exception _
)
C#
public TaskSchedulerException(
	string message,
	Exception innerException
)

Parameters

message
Type: System..::.String
The error message that explains the reason for the exception.
innerException
Type: System..::.Exception
The exception that is the cause of the current exception.

See Also