Task.LogWarningEvent Method
Helper to log a warning event if the task is running within MSBuild.
Namespace: Microsoft.TeamFoundation.Build.Tasks
Assembly: Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)
Syntax
'Declaration
Protected Sub LogWarningEvent ( _
e As BuildWarningEventArgs _
)
protected void LogWarningEvent(
BuildWarningEventArgs e
)
protected:
void LogWarningEvent(
BuildWarningEventArgs^ e
)
member LogWarningEvent :
e:BuildWarningEventArgs -> unit
protected function LogWarningEvent(
e : BuildWarningEventArgs
)
Parameters
e
Type: Microsoft.Build.Framework.BuildWarningEventArgsEvent args to be logged.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.