LanguageService::BeginParse Method (ParseRequest^, ParseResultHandler^)

 

Starts a parse operation on a background thread.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
IAsyncResult^ BeginParse(
	ParseRequest^ request,
	ParseResultHandler^ handler
)

Parameters

request
Type: Microsoft.VisualStudio.Package::ParseRequest^

[in] The ParseRequest object containing the parameters of the parse operation.

handler
Type: Microsoft.VisualStudio.Package::ParseResultHandler^

[in] The ParseResultHandler that is called when the parsing is complete.

Return Value

Type: System::IAsyncResult^

The parse result.

This method is used to initiate all parsing operations other than those needed for colorization (which are handled directly by the Colorizer class).

Return to top
Show: