Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the ProjectStartedEventArgs class with the specified values.
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 ( _
    projectId As Integer, _
    message As String, _
    helpKeyword As String, _
    projectFile As String, _
    targetNames As String, _
    properties As IEnumerable, _
    items As IEnumerable, _
    parentBuildEventContext As BuildEventContext _
)
public ProjectStartedEventArgs(
    int projectId,
    string message,
    string helpKeyword,
    string projectFile,
    string targetNames,
    IEnumerable properties,
    IEnumerable items,
    BuildEventContext parentBuildEventContext
)
public:
ProjectStartedEventArgs(
    int projectId, 
    String^ message, 
    String^ helpKeyword, 
    String^ projectFile, 
    String^ targetNames, 
    IEnumerable^ properties, 
    IEnumerable^ items, 
    BuildEventContext^ parentBuildEventContext
)
new : 
        projectId:int * 
        message:string * 
        helpKeyword:string * 
        projectFile:string * 
        targetNames:string * 
        properties:IEnumerable * 
        items:IEnumerable * 
        parentBuildEventContext:BuildEventContext -> ProjectStartedEventArgs
public function ProjectStartedEventArgs(
    projectId : int, 
    message : String, 
    helpKeyword : String, 
    projectFile : String, 
    targetNames : String, 
    properties : IEnumerable, 
    items : IEnumerable, 
    parentBuildEventContext : BuildEventContext
)
Parameters
- projectId 
 Type: System.Int32- The unique ProjectId identifier for the project. 
- message 
 Type: System.String- The text of the event. 
- helpKeyword 
 Type: System.String- The Help keyword associated with the event. 
- projectFile 
 Type: System.String- The project file name. 
- targetNames 
 Type: System.String- The targets to be built. 
- properties 
 Type: System.Collections.IEnumerable- A list of properties. 
- items 
 Type: System.Collections.IEnumerable- A list of items. 
- parentBuildEventContext 
 Type: Microsoft.Build.Framework.BuildEventContext- A BuildEventContext value that defines location contextual information. This is attached to logging events to define where they are located in relation to the process, engine, project, target, or task that is executing. 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.