This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Specifies whether the worker thread handling background parsing operations should exit.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'Declaration
Public Property Terminate As Boolean
'Usage
Dim instance As ParseRequest
Dim value As Boolean
value = instance.Terminate
instance.Terminate = value
public bool Terminate { get; set; }
public:
property bool Terminate {
bool get ();
void set (bool value);
}
public function get Terminate () : boolean
public function set Terminate (value : boolean)
Property Value
Type: System.Boolean
Returns true if the worker thread should exit.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.