BuildEventArgs.ThreadId Property

Definition

The thread that raised event.

C#
public int ThreadId { get; }
C#
public int ThreadId { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }

Property Value

An integer identifier for the thread that raised the event.

Attributes

Applies to

Product Versions
MSBuild 15, 16, 17
MSBuild (.NET Core) 15, 16, 17