ParseRequest Constructor (Boolean)
Initializes a new instance of the ParseRequest class in order to terminate the thread used for background parsing operations.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntax
'Declaration
Public Sub New ( _
terminate As Boolean _
)
public ParseRequest(
bool terminate
)
public:
ParseRequest(
bool terminate
)
new :
terminate:bool -> ParseRequest
public function ParseRequest(
terminate : boolean
)
Parameters
terminate
Type: Boolean[in] Set to true if the parsing operation is to be terminated. For this constructor, this argument is must always true.
Remarks
Some parsing operations can take some time to complete and are therefore executed on a worker thread in the background. This constructor is used to terminate that worker thread.
.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.