EventRecord.ThreadId Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the thread identifier for the thread that the event provider is running in.

Namespace:   System.Diagnostics.Eventing.Reader
Assembly:  System.Core (in System.Core.dll)

public abstract Nullable<int> ThreadId { get; }

Property Value

Type: System.Nullable<Int32>

Returns an integer value. This value can be null.

.NET Framework
Available since 3.5

EventRecord Class
System.Diagnostics.Eventing.Reader Namespace
Technology Summary for Reading and Managing Event Logs
Event Log Scenarios

Return to top
Show: