EventWrittenEventArgs.OSThreadId Property

Definition

Gets the thread identifier for the OS thread that wrote the event. (.NET Core 2.2 and later only.)

public:
 property long OSThreadId { long get(); };
public long OSThreadId { get; }
member this.OSThreadId : int64
Public ReadOnly Property OSThreadId As Long

Property Value

The thread identifier for the OS thread that wrote the event.

Applies to