BuildWarningEventArgs Constructor (String, String, String, Int32, Int32, Int32, Int32, String, String, String)

 

Initializes a new instance of the BuildWarningEventArgs class with the specified P:Microsoft.Build.Framework.BuildWarningEventArgs.SubCategory, Code, File, LineNumber, ColumnNumber, EndLineNumber, EndColumnNumber, Message, HelpKeyword, and SenderName values.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:   Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public BuildWarningEventArgs(
	string subcategory,
	string code,
	string file,
	int lineNumber,
	int columnNumber,
	int endLineNumber,
	int endColumnNumber,
	string message,
	string helpKeyword,
	string senderName
)

Parameters

subcategory
Type: System.String

The custom subcategory of the event.

code
Type: System.String

The warning code of the event.

file
Type: System.String

The name of the file associated with the event.

lineNumber
Type: System.Int32

The line number that corresponds to the beginning of the section of code that raised the event.

columnNumber
Type: System.Int32

The column number that corresponds to the beginning of the section of code that raised the event.

endLineNumber
Type: System.Int32

The line number that corresponds to the end of the section of code that raised the event.

endColumnNumber
Type: System.Int32

The column number that corresponds to the end of the section of code that raised the event.

message
Type: System.String

The text of the event.

helpKeyword
Type: System.String

The Help keyword associated with the event.

senderName
Type: System.String

The source of the event.

Return to top
Show: