Condividi tramite


BuildEventContext Constructor (Int32, Int32, Int32, Int32, Int32, Int32)

Constructs a BuildEventContext with a specific submission id

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 ( _
    submissionId As Integer, _
    nodeId As Integer, _
    projectInstanceId As Integer, _
    projectContextId As Integer, _
    targetId As Integer, _
    taskId As Integer _
)
public BuildEventContext(
    int submissionId,
    int nodeId,
    int projectInstanceId,
    int projectContextId,
    int targetId,
    int taskId
)
public:
BuildEventContext(
    int submissionId, 
    int nodeId, 
    int projectInstanceId, 
    int projectContextId, 
    int targetId, 
    int taskId
)
new : 
        submissionId:int * 
        nodeId:int * 
        projectInstanceId:int * 
        projectContextId:int * 
        targetId:int * 
        taskId:int -> BuildEventContext
public function BuildEventContext(
    submissionId : int, 
    nodeId : int, 
    projectInstanceId : int, 
    projectContextId : int, 
    targetId : int, 
    taskId : int
)

Parameters

  • submissionId
    Type: System.Int32

    The submission ID of the build event.

  • projectInstanceId
    Type: System.Int32

    The project instance ID of the build event.

  • projectContextId
    Type: System.Int32

    The project ID of the build event.

  • targetId
    Type: System.Int32

    The target ID of the build event.

.NET Framework Security

See Also

Reference

BuildEventContext Class

BuildEventContext Overload

Microsoft.Build.Framework Namespace