ProcessTask<TBusinessObject> Class
Represents a task that is associated to an item that is selected in the list pane of the Dashboard. The task is started from the task pane of the Dashboard.
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
System::MarshalByRefObject
Microsoft.WindowsServerSolutions.Administration.ObjectModel::Task
Microsoft.WindowsServerSolutions.Administration.ObjectModel::SelectionTask<TBusinessObject>
Microsoft.WindowsServerSolutions.Administration.ObjectModel::ProcessTask<TBusinessObject>
generic<typename TBusinessObject> where TBusinessObject : ref class public ref class ProcessTask sealed : SelectionTask<TBusinessObject>
Type Parameters
- TBusinessObject
Represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.
| Name | Description | |
|---|---|---|
![]() | ProcessTask<TBusinessObject>(Guid, String^, Converter<TBusinessObject, ProcessTaskStartInfo^>^) | Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified identifier, display name, and the ProcessTaskStartInfo object that is returned from the specified delegate method. |
![]() | ProcessTask<TBusinessObject>(Guid, String^, String^) | Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified identifier, display name, and the specified file path. |
![]() | ProcessTask<TBusinessObject>(Guid, String^, String^, String^) | Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified identifier, display name, file path, and command-line arguments to run the program. |
![]() | ProcessTask<TBusinessObject>(String^, Converter<TBusinessObject, ProcessTaskStartInfo^>^) | Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified display name and the ProcessTaskStartInfo object that is returned from the specified delegate method. |
![]() | ProcessTask<TBusinessObject>(String^, ProcessTaskStartInfo^) | Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified display name and the specified ProcessTaskStartInfo object. |
![]() | ProcessTask<TBusinessObject>(String^, String^) | Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified display name and the specified file path. |
![]() | ProcessTask<TBusinessObject>(String^, String^, Converter<TBusinessObject, String^>^) | Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified display name, file path, and the string that is returned from the specified delegate method. The string that is returned contains the command-line arguments for the program to be run. |
![]() | ProcessTask<TBusinessObject>(String^, String^, String^) | Initializes a new instance of the ProcessTask<TBusinessObject> class with the specified display name, file path, and command-line arguments to run the program. |
| Name | Description | |
|---|---|---|
![]() | ConditionProvider | Gets or sets a Converter<TInput, TOutput> delegate method that is used to convert an instance of a business object to the TaskCondition<TBusinessObject> for the task.(Inherited from SelectionTask<TBusinessObject>.) |
![]() | Description | |
![]() | DisplayName | |
![]() | Icon | |
![]() | ID | Gets the identifier of the task.(Inherited from Task.) |
![]() | Tag | |
![]() | TaskStatus | Gets and sets the status of the current task.(Inherited from Task.) |
![]() | UiActivation | Gets or sets the behavior that the Dashboard uses to decide whether to use an existing process when the same task is selected or to start a new process each time the task is selected. |
| Name | Description | |
|---|---|---|
![]() | CreateObjRef(Type^) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.(Inherited from Task.) |
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetLifetimeService() | (Inherited from MarshalByRefObject.) |
![]() | GetType() | (Inherited from Object.) |
![]() | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from Task.) |
![]() | ToString() | (Inherited from Object.) |
TBusinessObject represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.
To create a process task that is not associated to a selected item, use ProcessTask.
A ProcessTask<TBusinessObject> must be added to a TaskCollection to be displayed in the task pane of the Dashboard.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


