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.
Represents a task that starts the user interface of a process and does not block the use of the Dashboard. The task is associated with a business object that is selected in the list pane of the Dashboard. The task is started from the task pane of 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.SelectionTask<TBusinessObject>
        Microsoft.WindowsServerSolutions.Administration.ObjectModel.AsyncUiTask<TBusinessObject>
Syntax
public sealed class AsyncUiTask<TBusinessObject> : SelectionTask<TBusinessObject>
where TBusinessObject : class
generic<typename TBusinessObject>
where TBusinessObject : ref class
public ref class AsyncUiTask sealed : SelectionTask<TBusinessObject>
Public NotInheritable Class AsyncUiTask(Of TBusinessObject As Class)
    Inherits SelectionTask(Of 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.
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | AsyncUiTask<TBusinessObject>(Guid, String, AsyncAction<TBusinessObject>) | Initializes a new instance of the AsyncUiTask<TBusinessObject> class with the specified identifier, display name, and the specified delegate method that performs the action of the task. | 
| .jpeg) | AsyncUiTask<TBusinessObject>(String, AsyncAction<TBusinessObject>) | Initializes a new instance of the AsyncUiTask<TBusinessObject> class with the specified display name and the specified delegate method that performs the action of the task. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | ArgumentEquality | Gets or sets an EqualityChecker<TBusinessObject> delegate method that is used to determine whether two business objects are equal. | 
| .jpeg) | 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>.) | 
| .jpeg) | Description | Gets or sets the description of the Task object.(Inherited from Task.) | 
| .jpeg) | DisplayName | Gets the display name of the Task object.(Inherited from Task.) | 
| .jpeg) | Icon | Obsolete. Gets or sets the Icon that is associated with the Task object.(Inherited from Task.) | 
| .jpeg) | ID | Gets the identifier of the task.(Inherited from Task.) | 
| .jpeg) | Initialization | Gets or sets an Initializer<TBusinessObject> delegate method that is used to perform any type of lengthy initialization. | 
| .jpeg) | Tag | Gets or sets an object that is used to identify the Task.(Inherited from Task.) | 
| .jpeg) | TaskStatus | Gets and sets the status of the current task.(Inherited from Task.) | 
| .jpeg) | 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. | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | 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.) | 
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetLifetimeService() | (Inherited from MarshalByRefObject.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | InitializeLifetimeService() | Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from Task.) | 
| .jpeg) | ToString() | (Inherited from Object.) | 
Events
| Name | Description | |
|---|---|---|
| .jpeg) | Completed | Represents an event that is raised when a task either successfully or unsuccessfully completes.(Inherited from Task.) | 
| .jpeg) | Started | Represents an event that is raised when the task successfully starts.(Inherited from Task.) | 
Remarks
A task that is defined as AsyncUiTask<TBusinessObject> is specific to an object that is selected in the list pane of the Dashboard. To define an asynchronous task that is not specific to a selected object, use AsyncUiTask.
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.
An AsyncUiTask<TBusinessObject> must be added to a TaskCollection to be displayed in the task pane of the Dashboard.
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