LanguageService::MainThreadId Property
Visual Studio 2015
Returns the id of the thread this language service is running on.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
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.
Show: