Export (0) Print
Expand All

TaskFinishedEventArgs Constructor (String, String, String, String, String, Boolean, DateTime)

Initializes a new instance of the TaskFinishedEventArgs class with the specified values.

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

public TaskFinishedEventArgs(
	string message,
	string helpKeyword,
	string projectFile,
	string taskFile,
	string taskName,
	bool succeeded,
	DateTime eventTimestamp
)

Parameters

message
Type: System.String

The text for the message.

helpKeyword
Type: System.String

The Help keyword associated with the event.

projectFile
Type: System.String

The project file name.

taskFile
Type: System.String

The file in which the task is defined.

taskName
Type: System.String

The name of the task.

succeeded
Type: System.Boolean

true to indicate the task succeeded; otherwise, false.

eventTimestamp
Type: System.DateTime

When the event finished.

.NET Framework

Supported in: 4.5, 4

Windows 8.1, Windows Server 2012 R2, 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.

Show:
© 2014 Microsoft