次の方法で共有


CriticalBuildMessageEventArgs Constructors

Definition

Creates a CriticalBuildMessageEventsArgs object.

Overloads

CriticalBuildMessageEventArgs()

Default constructor

CriticalBuildMessageEventArgs(String, String, String, Int32, Int32, Int32, Int32, String, String, String)

This constructor allows all event data to be initialized

CriticalBuildMessageEventArgs(String, String, String, Int32, Int32, Int32, Int32, String, String, String, DateTime)

This constructor allows timestamp to be set

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

This constructor allows timestamp to be set

CriticalBuildMessageEventArgs()

Source:
CriticalBuildMessageEventArgs.cs

Default constructor

protected:
 CriticalBuildMessageEventArgs();
protected CriticalBuildMessageEventArgs ();
Protected Sub New ()

Applies to

CriticalBuildMessageEventArgs(String, String, String, Int32, Int32, Int32, Int32, String, String, String)

Source:
CriticalBuildMessageEventArgs.cs

This constructor allows all event data to be initialized

public:
 CriticalBuildMessageEventArgs(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 CriticalBuildMessageEventArgs (string subcategory, string code, string file, int lineNumber, int columnNumber, int endLineNumber, int endColumnNumber, string message, string helpKeyword, string senderName);
new Microsoft.Build.Framework.CriticalBuildMessageEventArgs : string * string * string * int * int * int * int * string * string * string -> Microsoft.Build.Framework.CriticalBuildMessageEventArgs
Public Sub New (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

subcategory
String

event subcategory

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

CriticalBuildMessageEventArgs(String, String, String, Int32, Int32, Int32, Int32, String, String, String, DateTime)

Source:
CriticalBuildMessageEventArgs.cs

This constructor allows timestamp to be set

public:
 CriticalBuildMessageEventArgs(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 CriticalBuildMessageEventArgs (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.CriticalBuildMessageEventArgs : string * string * string * int * int * int * int * string * string * string * DateTime -> Microsoft.Build.Framework.CriticalBuildMessageEventArgs
Public Sub New (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

subcategory
String

event subcategory

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

custom timestamp for the event

Applies to

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

Source:
CriticalBuildMessageEventArgs.cs

This constructor allows timestamp to be set

public:
 CriticalBuildMessageEventArgs(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 CriticalBuildMessageEventArgs (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.CriticalBuildMessageEventArgs : string * string * string * int * int * int * int * string * string * string * DateTime * obj[] -> Microsoft.Build.Framework.CriticalBuildMessageEventArgs
Public Sub New (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

subcategory
String

event subcategory

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

custom timestamp for the event

messageArgs
Object[]

message arguments

Applies to