Share via


TaskException Constructor

 

Initializes a new instance of the TaskException class.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Overload List

Name Description
System_CAPS_pubmethod TaskException(String)

Initializes a new instance of the TaskException class with the specified string that contains the error message that will be displayed.

System_CAPS_pubmethod TaskException(String, Exception)

Initializes a new instance of the TaskException class with the specified error message and the specified exception that is the cause of the current exception.

See Also

TaskException Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top