ProcessTask Class

 

Represents a task that can be started from the task pane of the Dashboard. The task is not associated to items listed in the list pane of the Dashboard.

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

System::Object
  System::MarshalByRefObject
    Microsoft.WindowsServerSolutions.Administration.ObjectModel::Task
      Microsoft.WindowsServerSolutions.Administration.ObjectModel::ProcessTask

public ref class ProcessTask sealed : Task

NameDescription
System_CAPS_pubmethodProcessTask(Guid, String^, ProcessTaskStartInfo^)

Initializes a new instance of the ProcessTask class with the specified identifier, display name, and the specified ProcessTaskStartInfo object.

System_CAPS_pubmethodProcessTask(Guid, String^, String^)

Initializes a new instance of the ProcessTask class with the specified identifier, display name, and the specified file path.

System_CAPS_pubmethodProcessTask(Guid, String^, String^, String^)

Initializes a new instance of the ProcessTask class with the specified identifier, display name, file path, and command-line arguments.

System_CAPS_pubmethodProcessTask(String^, ProcessTaskStartInfo^)

Initializes a new instance of the ProcessTask class with the specified display name and the specified ProcessTaskStartInfo object.

System_CAPS_pubmethodProcessTask(String^, String^)

Initializes a new instance of the ProcessTask class with the specified display name and the specified file path.

System_CAPS_pubmethodProcessTask(String^, String^, String^)

Initializes a new instance of the ProcessTask class with the specified display name, file path, and command-line arguments.

NameDescription
System_CAPS_pubpropertyDescription

Gets or sets the description of the Task object.(Inherited from Task.)

System_CAPS_pubpropertyDisplayName

Gets the display name of the Task object.(Inherited from Task.)

System_CAPS_pubpropertyIcon

Obsolete. Gets or sets the Icon that is associated with the Task object.(Inherited from Task.)

System_CAPS_pubpropertyID

Gets the identifier of the task.(Inherited from Task.)

System_CAPS_pubpropertyTag

Gets or sets an object that is used to identify the Task.(Inherited from Task.)

System_CAPS_pubpropertyTaskStatus

Gets and sets the status of the current task.(Inherited from Task.)

System_CAPS_pubpropertyUiActivation

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.

NameDescription
System_CAPS_pubmethodCreateObjRef(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.)

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from Task.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventCompleted

Represents an event that is raised when a task either successfully or unsuccessfully completes.(Inherited from Task.)

System_CAPS_pubeventStarted

Represents an event that is raised when the task successfully starts.(Inherited from Task.)

To create a process task that is associated to selected items, use ProcessTask<TBusinessObject>.

A ProcessTask 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.

Return to top

Community Additions

ADD
Show: