This topic has not yet been rated - Rate this topic

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

.NET Framework 4.5

This constructor allows timestamp to be set

Namespace:  Microsoft.Build.Framework
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
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
)

Parameters

subcategory
Type: System.String

event subcategory

code
Type: System.String

event code

file
Type: System.String

file associated with the event

lineNumber
Type: System.Int32

line number (0 if not applicable)

columnNumber
Type: System.Int32

column number (0 if not applicable)

endLineNumber
Type: System.Int32

end line number (0 if not applicable)

endColumnNumber
Type: System.Int32

end column number (0 if not applicable)

message
Type: System.String

text message

helpKeyword
Type: System.String

help keyword

senderName
Type: System.String

name of event sender

eventTimestamp
Type: System.DateTime

custom timestamp for the event

messageArgs
Type: System.Object[]

message arguments

.NET Framework

Supported in: 4.5

Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.