Прочетете на английски Редактиране

Споделяне чрез


EventWrittenEventArgs.OSThreadId Property

Definition

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

C#
public long OSThreadId { get; }

Property Value

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

Applies to

Продукт Версии
.NET Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.1