AsyncUiTask Constructor (String, AsyncAction, Boolean)
Creates an instance of the AsyncUiTask object, using the specified display name, action, and global parameter.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public AsyncUiTask(
string displayName,
AsyncAction action,
bool global
)
public:
AsyncUiTask(
String^ displayName,
AsyncAction^ action,
bool global
)
Public Sub New (
displayName As String,
action As AsyncAction,
global As Boolean
)
Parameters
displayName
Type: System.StringThe display name of the task.
action
Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.AsyncActionThe delegate method used to perform the task.
global
Type: System.Booleantrue if the task is global; otherwise, false.
See Also
AsyncUiTask Overload
AsyncUiTask Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top