Represents the method that will handle the TaskFinished event of a build.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Namespace:  Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
Public Delegate Sub TaskFinishedEventHandler ( _
    sender As Object, _
    e As TaskFinishedEventArgs _
)
public delegate void TaskFinishedEventHandler(
    Object sender,
    TaskFinishedEventArgs e
)
public delegate void TaskFinishedEventHandler(
    Object^ sender, 
    TaskFinishedEventArgs^ e
)
type TaskFinishedEventHandler = 
    delegate of  
        sender:Object * 
        e:TaskFinishedEventArgs -> unit
JScript does not support delegates.
Parameters
- sender 
 Type: System.Object- The source of the event. 
- e 
 Type: Microsoft.Build.Framework.TaskFinishedEventArgs- A TargetFinishedEventArgs that contains the event data.