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) | ![]() |
---|---|
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) |
C# | |
---|---|
public TaskBuildWarningEventArgs( string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName ) |
C++/CLI | |
---|---|
public: TaskBuildWarningEventArgs( String^ subcategory, String^ code, String^ file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, String^ message, String^ helpKeyword, String^ 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.
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