Task.Completed Event
Represents an event that is raised when a task either successfully or unsuccessfully completes.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
public event EventHandler<TaskCompletedEventArgs> Completed
public:
event EventHandler<TaskCompletedEventArgs^>^ Completed {
void add(EventHandler<TaskCompletedEventArgs^>^ value);
void remove(EventHandler<TaskCompletedEventArgs^>^ value);
}
Public Event Completed As EventHandler(Of TaskCompletedEventArgs)
Remarks
To determine the status of the task, retrieve the value of the Error property of the TaskCompletedEventArgs object.
See Also
Task Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top