TaskBuildWarningEventArgs Constructor(String,String,String,Int32,Int32,Int32,Int32,String,String,String)
See Also 
SourceCode.DeploymentTasks Namespace > TaskBuildWarningEventArgs Class > TaskBuildWarningEventArgs Constructor : TaskBuildWarningEventArgs Constructor(String,String,String,Int32,Int32,Int32,Int32,String,String,String)



subcategory
The custom subcategory of the event.
code
The warning code of the event.
file
The name of the file associated with the event.
lineNumber
The line number that corresponds to the beginning of the section of code that raised the event.
columnNumber
The column number that corresponds to the beginning of the section of code that raised the event.
endLineNumber
The line number that corresponds to the end of the section of code that raised the event.
endColumnNumber
The column number that corresponds to the end of the section of code that raised the event.
message
The text of the event.
helpKeyword
The Help keyword associated with the event.
senderName
The source of the event.

Glossary Item Box

Initializes a new instance of the TaskBuildWarningEventArgs class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal subcategory As String, _
   ByVal code As String, _
   ByVal file As String, _
   ByVal lineNumber As Integer, _
   ByVal columnNumber As Integer, _
   ByVal endLineNumber As Integer, _
   ByVal endColumnNumber As Integer, _
   ByVal message As String, _
   ByVal helpKeyword As String, _
   ByVal senderName As String _
)
Visual Basic (Usage)Copy Code
Dim subcategory As String
Dim code As String
Dim file As String
Dim lineNumber As Integer
Dim columnNumber As Integer
Dim endLineNumber As Integer
Dim endColumnNumber As Integer
Dim message As String
Dim helpKeyword As String
Dim senderName As String
 
Dim instance As New TaskBuildWarningEventArgs(subcategory, code, file, lineNumber, columnNumber, endLineNumber, endColumnNumber, message, helpKeyword, senderName)

Parameters

subcategory
The custom subcategory of the event.
code
The warning code of the event.
file
The name of the file associated with the event.
lineNumber
The line number that corresponds to the beginning of the section of code that raised the event.
columnNumber
The column number that corresponds to the beginning of the section of code that raised the event.
endLineNumber
The line number that corresponds to the end of the section of code that raised the event.
endColumnNumber
The column number that corresponds to the end of the section of code that raised the event.
message
The text of the event.
helpKeyword
The Help keyword associated with the event.
senderName
The source 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