Delen via


LanguageService.OnParseComplete Method

Called when a background parse has been completed.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.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 Overridable Sub OnParseComplete ( _
    req As ParseRequest _
)
public virtual void OnParseComplete(
    ParseRequest req
)
public:
virtual void OnParseComplete(
    ParseRequest^ req
)
abstract OnParseComplete : 
        req:ParseRequest -> unit  
override OnParseComplete : 
        req:ParseRequest -> unit
public function OnParseComplete(
    req : ParseRequest
)

Parameters

Remarks

This method is called from the Source object when a background parse has been completed. This method is not called when any other parse operation is executed. The background parse operation is typically over the entire source and gathers information such as matching pairs of language constructs (such as braces, parentheses, and brackets), methods, and class members. This information is gathered and later used in handling IntelliSense tool tips.

You should call the base method before or after your implementation of this method.

The base method updates the help context by calling the SetUserContextDirty method.

Note

This method is called on the main thread and not the background thread so the IVsTextView object in the ParseRequest structure can be used.

.NET Framework Security

See Also

Reference

LanguageService Class

Microsoft.VisualStudio.Package Namespace