다음을 통해 공유


ExtendedBuildMessageEventArgs Constructors

Definition

Overloads

ExtendedBuildMessageEventArgs(String)

This constructor specifies only type of extended data.

ExtendedBuildMessageEventArgs(String, String, String, String, MessageImportance)

This constructor allows all event data to be initialized

ExtendedBuildMessageEventArgs(String, String, String, String, MessageImportance, DateTime)

This constructor allows a timestamp to be set

ExtendedBuildMessageEventArgs(String, String, String, String, MessageImportance, DateTime, Object[])

This constructor allows a timestamp to be set

ExtendedBuildMessageEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance)

This constructor allows all event data to be initialized

ExtendedBuildMessageEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance, DateTime)

This constructor which allows a timestamp to be set

ExtendedBuildMessageEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance, DateTime, Object[])

This constructor which allows a timestamp to be set

ExtendedBuildMessageEventArgs(String)

Source:
ExtendedBuildMessageEventArgs.cs

This constructor specifies only type of extended data.

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

Parameters

type
String

Type of ExtendedType.

Applies to

ExtendedBuildMessageEventArgs(String, String, String, String, MessageImportance)

Source:
ExtendedBuildMessageEventArgs.cs

This constructor allows all event data to be initialized

public:
 ExtendedBuildMessageEventArgs(System::String ^ type, System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, Microsoft::Build::Framework::MessageImportance importance);
public ExtendedBuildMessageEventArgs (string type, string? message, string? helpKeyword, string? senderName, Microsoft.Build.Framework.MessageImportance importance);
new Microsoft.Build.Framework.ExtendedBuildMessageEventArgs : string * string * string * string * Microsoft.Build.Framework.MessageImportance -> Microsoft.Build.Framework.ExtendedBuildMessageEventArgs
Public Sub New (type As String, message As String, helpKeyword As String, senderName As String, importance As MessageImportance)

Parameters

type
String

Type of ExtendedType.

message
String

text message

helpKeyword
String

help keyword

senderName
String

name of event sender

importance
MessageImportance

importance of the message

Applies to

ExtendedBuildMessageEventArgs(String, String, String, String, MessageImportance, DateTime)

Source:
ExtendedBuildMessageEventArgs.cs

This constructor allows a timestamp to be set

public:
 ExtendedBuildMessageEventArgs(System::String ^ type, System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, Microsoft::Build::Framework::MessageImportance importance, DateTime eventTimestamp);
public ExtendedBuildMessageEventArgs (string type, string? message, string? helpKeyword, string? senderName, Microsoft.Build.Framework.MessageImportance importance, DateTime eventTimestamp);
new Microsoft.Build.Framework.ExtendedBuildMessageEventArgs : string * string * string * string * Microsoft.Build.Framework.MessageImportance * DateTime -> Microsoft.Build.Framework.ExtendedBuildMessageEventArgs
Public Sub New (type As String, message As String, helpKeyword As String, senderName As String, importance As MessageImportance, eventTimestamp As DateTime)

Parameters

type
String

Type of ExtendedType.

message
String

text message

helpKeyword
String

help keyword

senderName
String

name of event sender

importance
MessageImportance

importance of the message

eventTimestamp
DateTime

Timestamp when event was created

Applies to

ExtendedBuildMessageEventArgs(String, String, String, String, MessageImportance, DateTime, Object[])

Source:
ExtendedBuildMessageEventArgs.cs

This constructor allows a timestamp to be set

public:
 ExtendedBuildMessageEventArgs(System::String ^ type, System::String ^ message, System::String ^ helpKeyword, System::String ^ senderName, Microsoft::Build::Framework::MessageImportance importance, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
public ExtendedBuildMessageEventArgs (string type, string? message, string? helpKeyword, string? senderName, Microsoft.Build.Framework.MessageImportance importance, DateTime eventTimestamp, params object[]? messageArgs);
new Microsoft.Build.Framework.ExtendedBuildMessageEventArgs : string * string * string * string * Microsoft.Build.Framework.MessageImportance * DateTime * obj[] -> Microsoft.Build.Framework.ExtendedBuildMessageEventArgs
Public Sub New (type As String, message As String, helpKeyword As String, senderName As String, importance As MessageImportance, eventTimestamp As DateTime, ParamArray messageArgs As Object())

Parameters

type
String

Type of ExtendedType.

message
String

text message

helpKeyword
String

help keyword

senderName
String

name of event sender

importance
MessageImportance

importance of the message

eventTimestamp
DateTime

Timestamp when event was created

messageArgs
Object[]

message arguments

Applies to

ExtendedBuildMessageEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance)

Source:
ExtendedBuildMessageEventArgs.cs

This constructor allows all event data to be initialized

public:
 ExtendedBuildMessageEventArgs(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, Microsoft::Build::Framework::MessageImportance importance);
public ExtendedBuildMessageEventArgs (string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, Microsoft.Build.Framework.MessageImportance importance);
new Microsoft.Build.Framework.ExtendedBuildMessageEventArgs : string * string * string * string * int * int * int * int * string * string * string * Microsoft.Build.Framework.MessageImportance -> Microsoft.Build.Framework.ExtendedBuildMessageEventArgs
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, importance As MessageImportance)

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

importance
MessageImportance

importance of the message

Applies to

ExtendedBuildMessageEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance, DateTime)

Source:
ExtendedBuildMessageEventArgs.cs

This constructor which allows a timestamp to be set

public:
 ExtendedBuildMessageEventArgs(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, Microsoft::Build::Framework::MessageImportance importance, DateTime eventTimestamp);
public ExtendedBuildMessageEventArgs (string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, Microsoft.Build.Framework.MessageImportance importance, DateTime eventTimestamp);
new Microsoft.Build.Framework.ExtendedBuildMessageEventArgs : string * string * string * string * int * int * int * int * string * string * string * Microsoft.Build.Framework.MessageImportance * DateTime -> Microsoft.Build.Framework.ExtendedBuildMessageEventArgs
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, importance As MessageImportance, 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

importance
MessageImportance

importance of the message

eventTimestamp
DateTime

Timestamp when event was created

Applies to

ExtendedBuildMessageEventArgs(String, String, String, String, Int32, Int32, Int32, Int32, String, String, String, MessageImportance, DateTime, Object[])

Source:
ExtendedBuildMessageEventArgs.cs

This constructor which allows a timestamp to be set

public:
 ExtendedBuildMessageEventArgs(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, Microsoft::Build::Framework::MessageImportance importance, DateTime eventTimestamp, ... cli::array <System::Object ^> ^ messageArgs);
public ExtendedBuildMessageEventArgs (string type, string? subcategory, string? code, string? file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string? message, string? helpKeyword, string? senderName, Microsoft.Build.Framework.MessageImportance importance, DateTime eventTimestamp, params object[]? messageArgs);
new Microsoft.Build.Framework.ExtendedBuildMessageEventArgs : string * string * string * string * int * int * int * int * string * string * string * Microsoft.Build.Framework.MessageImportance * DateTime * obj[] -> Microsoft.Build.Framework.ExtendedBuildMessageEventArgs
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, importance As MessageImportance, 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

importance
MessageImportance

importance of the message

eventTimestamp
DateTime

Timestamp when event was created

messageArgs
Object[]

message arguments

Applies to