Task.LogMessage Method (String, MessageImportance)
Namespace: Microsoft.TeamFoundation.Build.Tasks
Assembly: Microsoft.TeamFoundation.Build.ProcessComponents (in Microsoft.TeamFoundation.Build.ProcessComponents.dll)
Syntax
声明
Protected Sub LogMessage ( _
message As String, _
importance As MessageImportance _
)
protected void LogMessage(
string message,
MessageImportance importance
)
protected:
void LogMessage(
String^ message,
MessageImportance importance
)
member LogMessage :
message:string *
importance:MessageImportance -> unit
protected function LogMessage(
message : String,
importance : MessageImportance
)
Parameters
- message
Type: System.String
- importance
Type: Microsoft.Build.Framework.MessageImportance
.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.