Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the BuildEventContext class.
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 ( _
nodeId As Integer, _
targetId As Integer, _
projectContextId As Integer, _
taskId As Integer _
)
public BuildEventContext(
int nodeId,
int targetId,
int projectContextId,
int taskId
)
public:
BuildEventContext(
int nodeId,
int targetId,
int projectContextId,
int taskId
)
new :
nodeId:int *
targetId:int *
projectContextId:int *
taskId:int -> BuildEventContext
public function BuildEventContext(
nodeId : int,
targetId : int,
projectContextId : int,
taskId : int
)
Parameters
nodeId
Type: System.Int32The node ID of the build event.
targetId
Type: System.Int32The target ID of the build event.
projectContextId
Type: System.Int32The project ID of the build event.
taskId
Type: System.Int32The task ID of the build event.
.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.