다음을 통해 공유


AnyEventHandler Delegate

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

Parameters

See Also

Reference

Microsoft.Build.Framework Namespace