Task.LogWarning Method

Helper to log a warning string 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 LogWarning ( _
    warningMessage As String _
)
protected void LogWarning(
    string warningMessage
)
protected:
void LogWarning(
    String^ warningMessage
)
member LogWarning : 
        warningMessage:string -> unit
protected function LogWarning(
    warningMessage : String
)

Parameters

  • warningMessage
    Type: System.String

    String to be logged as a warning.

.NET Framework Security

See Also

Reference

Task Class

Microsoft.TeamFoundation.Build.Tasks Namespace