LanguageService.BeginParse(ParseRequest, ParseResultHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Starts a parse operation on a background thread.
public:
IAsyncResult ^ BeginParse(Microsoft::VisualStudio::Package::ParseRequest ^ request, Microsoft::VisualStudio::Package::ParseResultHandler ^ handler);
public IAsyncResult BeginParse (Microsoft.VisualStudio.Package.ParseRequest request, Microsoft.VisualStudio.Package.ParseResultHandler handler);
member this.BeginParse : Microsoft.VisualStudio.Package.ParseRequest * Microsoft.VisualStudio.Package.ParseResultHandler -> IAsyncResult
Public Function BeginParse (request As ParseRequest, handler As ParseResultHandler) As IAsyncResult
Parameters
- request
- ParseRequest
[in] The ParseRequest object containing the parameters of the parse operation.
- handler
- ParseResultHandler
[in] The ParseResultHandler that is called when the parsing is complete.
Returns
The parse result.
Remarks
This method is used to initiate all parsing operations other than those needed for colorization (which are handled directly by the Colorizer class).