Task.LogError Method

Helper to log an error string if the task is running within MSBuild.

Namespace:  Microsoft.TeamFoundation.Build.Tasks
Assembly:  Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)

protected void LogError(
	string errorMessage
)

Parameters

errorMessage
Type: System.String

String to be logged as an error.

Show: