Przeczytaj w języku angielskim

Udostępnij za pośrednictwem


LanguageService.MainThreadId Property

Definition

Returns the id of the thread this language service is running on.

public:
 property int MainThreadId { int get(); };
public:
 property int MainThreadId { int get(); };
public int MainThreadId { get; }
member this.MainThreadId : int
Public ReadOnly Property MainThreadId As Integer

Property Value

Returns a thread id.

Remarks

The thread id is initialized when the LanguageService is constructed. Use this method if you need to know the ID of the thread the language service is running in.

Applies to