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)

public:
event EventHandler<TaskCompletedEventArgs^>^ Completed {
	void add(EventHandler<TaskCompletedEventArgs^>^ value);
	void remove(EventHandler<TaskCompletedEventArgs^>^ value);
}

To determine the status of the task, retrieve the value of the Error property of the TaskCompletedEventArgs object.

Return to top

Community Additions

ADD
Show: