共用方式為


BuildStartedEventHandler Delegate

Represents the method that will handle the BuildStarted 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 BuildStartedEventHandler ( _
    sender As Object, _
    e As BuildStartedEventArgs _
)
public delegate void BuildStartedEventHandler(
    Object sender,
    BuildStartedEventArgs e
)
public delegate void BuildStartedEventHandler(
    Object^ sender, 
    BuildStartedEventArgs^ e
)
type BuildStartedEventHandler = 
    delegate of  
        sender:Object * 
        e:BuildStartedEventArgs -> unit
JScript does not support delegates.

Parameters

See Also

Reference

Microsoft.Build.Framework Namespace