次の方法で共有


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 (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'宣言
Public Sub New ( _
    terminate As Boolean _
)
public ParseRequest(
    bool terminate
)

Parameters

  • terminate
    Type: System.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

See Also

Reference

ParseRequest Class

ParseRequest Overload

Microsoft.VisualStudio.Package Namespace