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



validationError
The validation error.
message
The message.
helpKeyword
The help keyword.
senderName
Name of the sender.
importance
The importance.

Glossary Item Box

Initializes a new instance of the TaskBuildMessageEventArgs class.

Syntax

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

Parameters

validationError
The validation error.
message
The message.
helpKeyword
The help keyword.
senderName
Name of the sender.
importance
The importance.

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