TaskBuildMessageEventArgs Constructor(String,String,String,MessageImportance)
See Also 
SourceCode.DeploymentTasks Namespace > TaskBuildMessageEventArgs Class > TaskBuildMessageEventArgs Constructor : TaskBuildMessageEventArgs Constructor(String,String,String,MessageImportance)



message
The text of the event.
helpKeyword
The Help keyword associated with the event.
senderName
The source of the event.
importance
A Microsoft.Build.Framework.MessageImportance value indicating the importance of the event.

Glossary Item Box

Initializes a new instance of the TaskBuildMessageEventArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal message As String, _
   ByVal helpKeyword As String, _
   ByVal senderName As String, _
   ByVal importance As MessageImportance _
)
Visual Basic (Usage)Copy Code
Dim message As String
Dim helpKeyword As String
Dim senderName As String
Dim importance As MessageImportance
 
Dim instance As New TaskBuildMessageEventArgs(message, helpKeyword, senderName, importance)
C# 
public TaskBuildMessageEventArgs( 
   string message,
   string helpKeyword,
   string senderName,
   MessageImportance importance
)
C++/CLI 
public:
TaskBuildMessageEventArgs( 
   String^ message,
   String^ helpKeyword,
   String^ senderName,
   MessageImportance importance
)

Parameters

message
The text of the event.
helpKeyword
The Help keyword associated with the event.
senderName
The source of the event.
importance
A Microsoft.Build.Framework.MessageImportance value indicating the importance of the event.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also