Partager via


AsyncUiTask Constructor (Guid, String, AsyncAction, Boolean)

 

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

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

Syntax

public AsyncUiTask(
    Guid id,
    string displayName,
    AsyncAction action,
    bool global
)
public:
AsyncUiTask(
    Guid id,
    String^ displayName,
    AsyncAction^ action,
    bool global
)
Public Sub New (
    id As Guid,
    displayName As String,
    action As AsyncAction,
    global As Boolean
)

Parameters

  • id
    Type: System.Guid

    The unique identifier for the task.

  • global
    Type: System.Boolean

    true if the action is global; otherwise, false.

See Also

AsyncUiTask Overload
AsyncUiTask Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top