ParseRequest::Terminate Property

 

Specifies whether the worker thread handling background parsing operations should exit.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property bool Terminate {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

Returns true if the worker thread should exit.

A lengthy parsing operation is typically executed on a background thread. This background thread is implemented by the base LanguageService class and the thread watches for a ParseRequest that returns true for the Terminate property. When such a ParseRequest object appears, the worker thread exits. However, this worker thread exits only if no parsing operation is currently executing.

Return to top
Show: