共用方式為


IBuildEngine.LogMessageEvent Method

Raises a message event to all registered loggers.

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
Sub LogMessageEvent ( _
    e As BuildMessageEventArgs _
)
void LogMessageEvent(
    BuildMessageEventArgs e
)
void LogMessageEvent(
    BuildMessageEventArgs^ e
)
abstract LogMessageEvent : 
        e:BuildMessageEventArgs -> unit
function LogMessageEvent(
    e : BuildMessageEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

IBuildEngine Interface

Microsoft.Build.Framework Namespace