Condividi tramite


ProjectStartedEventArgs Constructor (String, String, String, String, IEnumerable, IEnumerable, DateTime)

This constructor allows event data to be initialized. Also the timestamp can be set Sender is assumed to be "MSBuild".

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

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

Syntax

'Declaration
Public Sub New ( _
    message As String, _
    helpKeyword As String, _
    projectFile As String, _
    targetNames As String, _
    properties As IEnumerable, _
    items As IEnumerable, _
    eventTimestamp As DateTime _
)
public ProjectStartedEventArgs(
    string message,
    string helpKeyword,
    string projectFile,
    string targetNames,
    IEnumerable properties,
    IEnumerable items,
    DateTime eventTimestamp
)
public:
ProjectStartedEventArgs(
    String^ message, 
    String^ helpKeyword, 
    String^ projectFile, 
    String^ targetNames, 
    IEnumerable^ properties, 
    IEnumerable^ items, 
    DateTime eventTimestamp
)
new : 
        message:string * 
        helpKeyword:string * 
        projectFile:string * 
        targetNames:string * 
        properties:IEnumerable * 
        items:IEnumerable * 
        eventTimestamp:DateTime -> ProjectStartedEventArgs
public function ProjectStartedEventArgs(
    message : String, 
    helpKeyword : String, 
    projectFile : String, 
    targetNames : String, 
    properties : IEnumerable, 
    items : IEnumerable, 
    eventTimestamp : DateTime
)

Parameters

  • targetNames
    Type: System.String

    targets we are going to build (empty indicates default targets)

.NET Framework Security

See Also

Reference

ProjectStartedEventArgs Class

ProjectStartedEventArgs Overload

Microsoft.Build.Framework Namespace