This documentation is archived and is not being maintained.
BuildEventContext Class
Visual Studio 2010
Provides contextual location information for build events.
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
The BuildEventContext type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | BuildEventContext(Int32, Int32, Int32, Int32) | Initializes a new instance of the BuildEventContext class. |
![]() | 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 |
| Name | Description | |
|---|---|---|
![]() | BuildRequestId | Retrieves the BuildRequest id. Note that this is not the same as the global request id on a BuildRequest or BuildResult. |
![]() ![]() | Invalid | Gets whether the context where the event occurred is valid. |
![]() | NodeId | Gets the node ID where the event occurred. |
![]() | ProjectContextId | Gets the ID of the project where the event occurred. |
![]() | ProjectInstanceId | Retrieves the project instance id. |
![]() | SubmissionId | Retrieves the Submission id. |
![]() | TargetId | Gets the ID of the target where the event occurred. |
![]() | TaskId | Gets the ID of the task where the event occurred. |
| Name | Description | |
|---|---|---|
![]() | Equals | Gets whether the references are the same. (Overrides Object::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Gets a code comprised of the ProjectContextId and the NodeId. (Overrides Object::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Override == so the equals comparison using this operator will be the same as .Equals |
![]() ![]() | Inequality | Override != so the equals comparison using this operator will be the same as ! Equals |
| Name | Description | |
|---|---|---|
![]() ![]() | InvalidNodeId | The node ID of the target the event was in when the event was triggered. |
![]() ![]() | InvalidProjectContextId | The project ID of the target the event was in when the event was triggered. |
![]() ![]() | InvalidProjectInstanceId | The project instance ID of the target the event was in when the event was triggered. |
![]() ![]() | InvalidSubmissionId | The submission ID of the target the event was in when the event was triggered. |
![]() ![]() | InvalidTargetId | The name of the target the event was in when the event was triggered. |
![]() ![]() | InvalidTaskId | The task ID of the target the event was in when the event was triggered. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
