Compartilhar via


ParseRequest.Terminate Property

Definition

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

public:
 property bool Terminate { bool get(); void set(bool value); };
public:
 property bool Terminate { bool get(); void set(bool value); };
public bool Terminate { get; set; }
member this.Terminate : bool with get, set
Public Property Terminate As Boolean

Property Value

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.

Applies to