Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified identifier, display name, and the specified file path.
Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public ProcessTask(
    Guid id,
    string displayName,
    string filePath
)
public:
ProcessTask(
    Guid id,
    String^ displayName,
    String^ filePath
)
Public Sub New (
    id As Guid,
    displayName As String,
    filePath As String
)
Parameters
- id 
 Type: System.Guid- The unique identifier of the task. 
- displayName 
 Type: System.String- The display name of the task. 
- filePath 
 Type: System.String- The path and name of the program that is assigned to the task. 
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentException | One or more of the parameters are not valid. | 
| ArgumentNullException | One or more of the parameters are null. | 
Remarks
After a task has been initialized, it must be added to a TaskCollection to be included in the task pane of the Dashboard.
See Also
ProcessTask<TBusinessObject> Overload
ProcessTask<TBusinessObject> Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top