共用方式為


LanguageService.BeginParse(ParseRequest, ParseResultHandler) Method

Definition

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).

Applies to