Task Class
Represents an action that can be performed from the task pane in the Dashboard.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
Microsoft.WindowsServerSolutions.Administration.ObjectModel.Task
Microsoft.WindowsServerSolutions.Administration.ObjectModel.AsyncUiTask
Microsoft.WindowsServerSolutions.Administration.ObjectModel.ProcessTask
Microsoft.WindowsServerSolutions.Administration.ObjectModel.SelectionTask<TBusinessObject>
Microsoft.WindowsServerSolutions.Administration.ObjectModel.SyncUiTask
Microsoft.WindowsServerSolutions.Administration.ObjectModel.UrlTask
Syntax
public abstract class Task : MarshalByRefObject
public ref class Task abstract : MarshalByRefObject
Public MustInherit Class Task
Inherits MarshalByRefObject
Properties
Name | Description | |
---|---|---|
Description | Gets or sets the description of the Task object. |
|
DisplayName | Gets the display name of the Task object. |
|
Icon | Obsolete. Gets or sets the Icon that is associated with the Task object. |
|
ID | Gets the identifier of the task. |
|
Tag | Gets or sets an object that is used to identify the Task. |
|
TaskStatus | Gets and sets the status of the current task. |
Methods
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.(Overrides MarshalByRefObject.CreateObjRef(Type).) |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (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.(Overrides MarshalByRefObject.InitializeLifetimeService().) |
|
MemberwiseClone() | (Inherited from Object.) |
|
MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
Completed | Represents an event that is raised when a task either successfully or unsuccessfully completes. |
|
Started | Represents an event that is raised when the task successfully starts. |
Remarks
Objects cannot be instantiated directly from this class; use derivatives of Task.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top