ParseRequest::Reason Property
Visual Studio 2015
Specifies the reason the parsing operation was started.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Property Value
Type: Microsoft.VisualStudio.Package::ParseReasonReturns the ParseReason value passed to the ParseRequest class constructor.
The ParseReason value must be used by the parser as it determines what kind of information is to be obtained. For example, Check means to parse the entire source file while CompleteWord means parse only the identifier at the specified location. The former is typically done on a background thread and can take some time to complete while the latter is typically done on the foreground thread and should take very little time.
Show: