EventWrittenEventArgs.OSThreadId EventWrittenEventArgs.OSThreadId EventWrittenEventArgs.OSThreadId EventWrittenEventArgs.OSThreadId Property

定义

获取编写此事件的 OS 线程的线程标识符。Gets the thread identifier for the OS thread that wrote the event. (仅 .NET Core 2.2 和更高版本。)(.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

属性值

编写了该事件的 OS 线程的线程标识符。The thread identifier for the OS thread that wrote the event.

适用于