.NET Framework Class Library |
TaskSchedulerException Constructor (String) |
TaskSchedulerException Class See Also Send Feedback |
Initializes a new instance of the TaskSchedulerException
class with a specified error message.
Namespace:
System.Threading.Tasks
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _ message As String _ ) |
C# |
---|
public TaskSchedulerException( string message ) |
Parameters
- message
- Type: System..::.String
The error message that explains the reason for the exception.