Compartilhar via


AsyncUiTask Class

 

Represents a task that starts the user interface of a process and does not block the use 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.AsyncUiTask

Syntax

public sealed class AsyncUiTask : Task
public ref class AsyncUiTask sealed : Task
Public NotInheritable Class AsyncUiTask
    Inherits Task

Constructors

Name Description
System_CAPS_pubmethod AsyncUiTask(Guid, String, AsyncAction)

Initializes a new instance of the AsyncUiTask class with the specified identifier, display name, and the specified delegate method that performs the action of the task.

System_CAPS_pubmethod AsyncUiTask(Guid, String, AsyncAction, Boolean)

Creates a new instance of the AsyncUiTask type, using the specified ID, display name, action, and global parameters.

System_CAPS_pubmethod AsyncUiTask(String, AsyncAction)

Initializes a new instance of the AsyncUiTask class with the specified display name and the specified delegate method that performs the action of the task.

System_CAPS_pubmethod AsyncUiTask(String, AsyncAction, Boolean)

Creates an instance of the AsyncUiTask object, using the specified display name, action, and global parameter.

Properties

Name Description
System_CAPS_pubproperty ConditionProvider

Getse and sets the condition provider.

System_CAPS_pubproperty Description

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

System_CAPS_pubproperty DisplayName

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

System_CAPS_pubproperty Icon

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

System_CAPS_pubproperty ID

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

System_CAPS_pubproperty Initialization

Gets or sets an Initializer delegate method that is used to perform any type of lengthy initialization.

System_CAPS_pubproperty Tag

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

System_CAPS_pubproperty TaskStatus

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

System_CAPS_pubproperty 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
System_CAPS_pubmethod 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.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod InitializeLifetimeService()

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

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Events

Name Description
System_CAPS_pubevent Completed

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

System_CAPS_pubevent Started

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

Remarks

A task that is defined as AsyncUiTask is not specific to an object that is selected in the list pane of the Dashboard. To define an asynchronous task that is specific to a selected object, use AsyncUiTask<TBusinessObject>.

An AsyncUiTask 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