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.GuidThe unique identifier for the task.
displayName
Type: System.StringThe display name of the task.
action
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.AsyncActionThe delagate method used to perform this task.
global
Type: System.Booleantrue if the action is global; otherwise, false.
See Also
AsyncUiTask Overload
AsyncUiTask Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top