IBuildEngine.LogWarningEvent(BuildWarningEventArgs) Method

Definition

Allows tasks to raise warning events to all registered loggers. The build engine may perform some filtering or pre-processing on the events, before dispatching them.

C#
public void LogWarningEvent(Microsoft.Build.Framework.BuildWarningEventArgs e);

Parameters

e
BuildWarningEventArgs

Details of event to raise.

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17