共用方式為


TargetFinishedEventHandler Delegate

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

Parameters

See Also

Reference

Microsoft.Build.Framework Namespace