Bagikan melalui


Task.LogMessage Method (String)

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

Parameters

.NET Framework Security

See Also

Reference

Task Class

LogMessage Overload

Microsoft.TeamFoundation.Build.Tasks Namespace