Condividi tramite


BuildEventContext Constructors

Definition

Constructs a BuildEventContext.

Overloads

BuildEventContext(Int32, Int32, Int32, Int32)

This is the original constructor. No one should ever use this except internally for backward compatibility.

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

Constructs a BuildEventContext with a specified project instance id.

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

Constructs a BuildEventContext with a specific submission id

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

Constructs a BuildEventContext

BuildEventContext(Int32, Int32, Int32, Int32)

Source:
BuildEventContext.cs

This is the original constructor. No one should ever use this except internally for backward compatibility.

public:
 BuildEventContext(int nodeId, int targetId, int projectContextId, int taskId);
public BuildEventContext (int nodeId, int targetId, int projectContextId, int taskId);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildEventContext (int nodeId, int targetId, int projectContextId, int taskId);
new Microsoft.Build.Framework.BuildEventContext : int * int * int * int -> Microsoft.Build.Framework.BuildEventContext
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Framework.BuildEventContext : int * int * int * int -> Microsoft.Build.Framework.BuildEventContext
Public Sub New (nodeId As Integer, targetId As Integer, projectContextId As Integer, taskId As Integer)

Parameters

nodeId
Int32

The node ID of the build event.

targetId
Int32

The target ID of the build event.

projectContextId
Int32

The project ID of the build event.

taskId
Int32

The task ID of the build event.

Attributes

Applies to

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

Source:
BuildEventContext.cs

Constructs a BuildEventContext with a specified project instance id.

public:
 BuildEventContext(int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId);
public BuildEventContext (int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildEventContext (int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId);
new Microsoft.Build.Framework.BuildEventContext : int * int * int * int * int -> Microsoft.Build.Framework.BuildEventContext
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Framework.BuildEventContext : int * int * int * int * int -> Microsoft.Build.Framework.BuildEventContext
Public Sub New (nodeId As Integer, projectInstanceId As Integer, projectContextId As Integer, targetId As Integer, taskId As Integer)

Parameters

nodeId
Int32

The node ID of the build event.

projectInstanceId
Int32

The project instance ID of the build event.

projectContextId
Int32

The project ID of the build event.

targetId
Int32

The target ID of the build event.

taskId
Int32

The task ID of the build event.

Attributes

Applies to

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

Source:
BuildEventContext.cs

Constructs a BuildEventContext with a specific submission id

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);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
public BuildEventContext (int submissionId, int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId);
new Microsoft.Build.Framework.BuildEventContext : int * int * int * int * int * int -> Microsoft.Build.Framework.BuildEventContext
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
new Microsoft.Build.Framework.BuildEventContext : int * int * int * int * int * int -> Microsoft.Build.Framework.BuildEventContext
Public Sub New (submissionId As Integer, nodeId As Integer, projectInstanceId As Integer, projectContextId As Integer, targetId As Integer, taskId As Integer)

Parameters

submissionId
Int32

The submission ID of the build event.

nodeId
Int32

The node ID of the build event.

projectInstanceId
Int32

The project instance ID of the build event.

projectContextId
Int32

The project ID of the build event.

targetId
Int32

The target ID of the build event.

taskId
Int32

The task ID of the build event.

Attributes

Applies to

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

Source:
BuildEventContext.cs

Constructs a BuildEventContext

public:
 BuildEventContext(int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId);
public BuildEventContext (int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId);
new Microsoft.Build.Framework.BuildEventContext : int * int * int * int * int * int * int -> Microsoft.Build.Framework.BuildEventContext
Public Sub New (submissionId As Integer, nodeId As Integer, evaluationId As Integer, projectInstanceId As Integer, projectContextId As Integer, targetId As Integer, taskId As Integer)

Parameters

submissionId
Int32
nodeId
Int32
evaluationId
Int32
projectInstanceId
Int32
projectContextId
Int32
targetId
Int32
taskId
Int32

Applies to