TraceEventCache.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 a unique identifier for the current managed thread.

Namespace:   System.Diagnostics
Assembly:  System (in System.dll)

public string ThreadId { get; }

Property Value

Type: System.String

A string that represents a unique integer identifier for this managed thread.

The thread identifier is the value of the Thread.ManagedThreadId property formatted as a string.

.NET Framework
Available since 2.0
Return to top
Show: