Task.Completed Event
Represents an event that is raised when a task either successfully or unsuccessfully completes.
Namespace: Microsoft.EssentialBusinessServer.Console.ObjectModel
Assembly: Microsoft.EssentialBusinessServer.Console.ObjectModel (in microsoft.essentialbusinessserver.console.objectmodel.dll)
Usage
Syntax
'Declaration
Public Event Completed As EventHandler(Of TaskCompletedEventArgs)
public event EventHandler<TaskCompletedEventArgs> Completed
public:
event EventHandler<TaskCompletedEventArgs^>^ Completed {
void add (EventHandler<TaskCompletedEventArgs^>^ value);
void remove (EventHandler<TaskCompletedEventArgs^>^ value);
}
/** @event */
public void add_Completed (EventHandler<TaskCompletedEventArgs> value)
/** @event */
public void remove_Completed (EventHandler<TaskCompletedEventArgs> value)
Remarks
To determine the status of the task, retrieve the value of the Error property of the TaskCompletedEventArgs object.
Platforms
Development Platforms
Windows Server 2008 64-bit Edition, Windows Vista 64-bit Edition, Windows Essential Business Server 2008 Standard, Windows Essential Business Server 2008 Premium
Target Platforms
Windows Essential Business Server 2008 Standard, Windows Essential Business Server 2008 Premium
See Also
Reference
Task Class
Task Members
Microsoft.EssentialBusinessServer.Console.ObjectModel Namespace