Share via


TaskException Constructor (String)

 

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

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

Syntax

public TaskException(
    string message
)
public:
TaskException(
    String^ message
)
Public Sub New (
    message As String
)

Parameters

  • message
    Type: System.String

    The error message that explains the reason for the exception.

See Also

TaskException Overload
TaskException Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top