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.

C#
public BuildEventContext(int nodeId, int targetId, int projectContextId, int taskId);
C#
[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);

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

.NET Framework 4.8.1 e outras versións
Produto Versións
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

Source:
BuildEventContext.cs

Constructs a BuildEventContext with a specified project instance id.

C#
public BuildEventContext(int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId);
C#
[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);

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

.NET Framework 4.8.1 e outras versións
Produto Versións
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

Source:
BuildEventContext.cs

Constructs a BuildEventContext with a specific submission id

C#
public BuildEventContext(int submissionId, int nodeId, int projectInstanceId, int projectContextId, int targetId, int taskId);
C#
[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);

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

.NET Framework 4.8.1 e outras versións
Produto Versións
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

Source:
BuildEventContext.cs

Constructs a BuildEventContext

C#
public BuildEventContext(int submissionId, int nodeId, int evaluationId, int projectInstanceId, int projectContextId, int targetId, int taskId);

Parameters

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

Applies to