Sdílet prostřednictvím


ExtendedBuildWarningEventArgs Constructors

Definition

Overloads

ExtendedBuildWarningEventArgs(String)

This constructor specifies only type of extended data.

ExtendedBuildWarningEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String)

This constructor allows all event data to be initialized

ExtendedBuildWarningEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, DateTime)

This constructor which allows a timestamp to be set

ExtendedBuildWarningEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, DateTime, Object[])

This constructor which allows a timestamp to be set

ExtendedBuildWarningEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, String, DateTime, Object[])

This constructor which allows a timestamp to be set

ExtendedBuildWarningEventArgs(String)

Source:
ExtendedBuildWarningEventArgs.cs

This constructor specifies only type of extended data.

public:
 ExtendedBuildWarningEventArgs(System::String ^ type);
public ExtendedBuildWarningEventArgs (string type);
new Microsoft.Build.Framework.ExtendedBuildWarningEventArgs : string -> Microsoft.Build.Framework.ExtendedBuildWarningEventArgs
Public Sub New (type As String)

Parameters

type
String

Type of ExtendedType.

Applies to

ExtendedBuildWarningEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String)

Source:
ExtendedBuildWarningEventArgs.cs

This constructor allows all event data to be initialized

public:
 ExtendedBuildWarningEventArgs(System::String ^ type, System::String ^ subcategory, System::String ^ code, System::String ^ file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName);
public ExtendedBuildWarningEventArgs (string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName);
new Microsoft.Build.Framework.ExtendedBuildWarningEventArgs : string * string * string * string * int * int * int * int * string * string * string -> Microsoft.Build.Framework.ExtendedBuildWarningEventArgs
Public Sub New (type As String, subcategory As String, code As String, file As String, lineNumber As Integer, columnNumber As Integer, endLineNumber As Integer, endColumnNumber As Integer, message As String, helpKeyword As String, senderName As String)

Parameters

type
String

Type of ExtendedType.

subcategory
String

event sub-category

code
String

event code

file
String

file associated with the event

lineNumber
Int32

line number (0 if not applicable)

columnNumber
Int32

column number (0 if not applicable)

endLineNumber
Int32

end line number (0 if not applicable)

endColumnNumber
Int32

end column number (0 if not applicable)

message
String

text message

helpKeyword
String

help keyword

senderName
String

name of event sender

Applies to

ExtendedBuildWarningEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, DateTime)

Source:
ExtendedBuildWarningEventArgs.cs

This constructor which allows a timestamp to be set

public:
 ExtendedBuildWarningEventArgs(System::String ^ type, System::String ^ subcategory, System::String ^ code, System::String ^ file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, DateTime eventTimestamp);
public ExtendedBuildWarningEventArgs (string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, DateTime eventTimestamp);
new Microsoft.Build.Framework.ExtendedBuildWarningEventArgs : string * string * string * string * int * int * int * int * string * string * string * DateTime -> Microsoft.Build.Framework.ExtendedBuildWarningEventArgs
Public Sub New (type As String, subcategory As String, code As String, file As String, lineNumber As Integer, columnNumber As Integer, endLineNumber As Integer, endColumnNumber As Integer, message As String, helpKeyword As String, senderName As String, eventTimestamp As DateTime)

Parameters

type
String

Type of ExtendedType.

subcategory
String

event sub-category

code
String

event code

file
String

file associated with the event

lineNumber
Int32

line number (0 if not applicable)

columnNumber
Int32

column number (0 if not applicable)

endLineNumber
Int32

end line number (0 if not applicable)

endColumnNumber
Int32

end column number (0 if not applicable)

message
String

text message

helpKeyword
String

help keyword

senderName
String

name of event sender

eventTimestamp
DateTime

Timestamp when event was created

Applies to

ExtendedBuildWarningEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, DateTime, Object[])

Source:
ExtendedBuildWarningEventArgs.cs

This constructor which allows a timestamp to be set

public:
 ExtendedBuildWarningEventArgs(System::String ^ type, System::String ^ subcategory, System::String ^ code, System::String ^ file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
public ExtendedBuildWarningEventArgs (string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, DateTime eventTimestamp, params object[]? messageArgs);
new Microsoft.Build.Framework.ExtendedBuildWarningEventArgs : string * string * string * string * int * int * int * int * string * string * string * DateTime * obj[] -> Microsoft.Build.Framework.ExtendedBuildWarningEventArgs
Public Sub New (type As String, subcategory As String, code As String, file As String, lineNumber As Integer, columnNumber As Integer, endLineNumber As Integer, endColumnNumber As Integer, message As String, helpKeyword As String, senderName As String, eventTimestamp As DateTime, ParamArray messageArgs As Object())

Parameters

type
String

Type of ExtendedType.

subcategory
String

event sub-category

code
String

event code

file
String

file associated with the event

lineNumber
Int32

line number (0 if not applicable)

columnNumber
Int32

column number (0 if not applicable)

endLineNumber
Int32

end line number (0 if not applicable)

endColumnNumber
Int32

end column number (0 if not applicable)

message
String

text message

helpKeyword
String

help keyword

senderName
String

name of event sender

eventTimestamp
DateTime

Timestamp when event was created

messageArgs
Object[]

message arguments

Applies to

ExtendedBuildWarningEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, String, DateTime, Object[])

Source:
ExtendedBuildWarningEventArgs.cs

This constructor which allows a timestamp to be set

public:
 ExtendedBuildWarningEventArgs(System::String ^ type, System::String ^ subcategory, System::String ^ code, System::String ^ file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, System::String ^ helpLink, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
public ExtendedBuildWarningEventArgs (string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, string? helpLink, DateTime eventTimestamp, params object[]? messageArgs);
new Microsoft.Build.Framework.ExtendedBuildWarningEventArgs : string * string * string * string * int * int * int * int * string * string * string * string * DateTime * obj[] -> Microsoft.Build.Framework.ExtendedBuildWarningEventArgs
Public Sub New (type As String, subcategory As String, code As String, file As String, lineNumber As Integer, columnNumber As Integer, endLineNumber As Integer, endColumnNumber As Integer, message As String, helpKeyword As String, senderName As String, helpLink As String, eventTimestamp As DateTime, ParamArray messageArgs As Object())

Parameters

type
String

Type of ExtendedType.

subcategory
String

event sub-category

code
String

event code

file
String

file associated with the event

lineNumber
Int32

line number (0 if not applicable)

columnNumber
Int32

column number (0 if not applicable)

endLineNumber
Int32

end line number (0 if not applicable)

endColumnNumber
Int32

end column number (0 if not applicable)

message
String

text message

helpKeyword
String

help keyword

senderName
String

name of event sender

helpLink
String

A link pointing to more information about the error

eventTimestamp
DateTime

Timestamp when event was created

messageArgs
Object[]

message arguments

Applies to