Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Protected Sub LogError ( _
errorMessage As String _
)
protected void LogError(
string errorMessage
)
protected:
void LogError(
String^ errorMessage
)
member LogError :
errorMessage:string -> unit
protected function LogError(
errorMessage : String
)
Parameters
errorMessage
Type: System.StringString to be logged as an error.
.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.