TargetStartedEventHandler Delegate
Represents the method that will handle the TargetStarted 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 TargetStartedEventHandler ( _
sender As Object, _
e As TargetStartedEventArgs _
)
public delegate void TargetStartedEventHandler(
Object sender,
TargetStartedEventArgs e
)
public delegate void TargetStartedEventHandler(
Object^ sender,
TargetStartedEventArgs^ e
)
type TargetStartedEventHandler =
delegate of
sender:Object *
e:TargetStartedEventArgs -> unit
JScript does not support delegates.
Parameters
sender
Type: System.ObjectThe source of the event.
e
Type: Microsoft.Build.Framework.TargetStartedEventArgsA TargetStartedEventArgs that contains the event data.