Redigera

Dela via


Environment.CurrentManagedThreadId Property

Definition

Gets a unique identifier for the current managed thread.

public:
 static property int CurrentManagedThreadId { int get(); };
public static int CurrentManagedThreadId { get; }
static member CurrentManagedThreadId : int
Public Shared ReadOnly Property CurrentManagedThreadId As Integer

Property Value

A unique identifier for this managed thread.

Applies to