ParseRequest.Callback Property

Specifies the callback delegate to be called when the parsing operation has completed.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.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 Property Callback As ParseResultHandler
public ParseResultHandler Callback { get; set; }
public:
property ParseResultHandler^ Callback {
    ParseResultHandler^ get ();
    void set (ParseResultHandler^ value);
}
member Callback : ParseResultHandler with get, set
function get Callback () : ParseResultHandler 
function set Callback (value : ParseResultHandler)

Property Value

Type: Microsoft.VisualStudio.Package.ParseResultHandler
Returns a ParseResultHandler delegate.

Remarks

This property is assigned to after the ParseRequest object has been created by a call to CreateParseRequest. If this property returns null, then no call back is required.

BeginParse in the LanguageService class sets this property just before it starts the parsing operation.

.NET Framework Security

See Also

Reference

ParseRequest Class

Microsoft.VisualStudio.Package Namespace