LanguageService::CanStopThread Method (Source^)
Visual Studio 2015
Determines whether the thread can be stopped.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- src
-
Type:
Microsoft.VisualStudio.Package::Source^
The source.
Aborting the thread is rather drastic, since the parse tree may still be used even after the source is closed, so aborting the thread messes with this concept. This new virtual method allows a language service to override this behavior.
Show: