Share via


ParseRequest.Callback Property

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

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

Syntax

'Declaration
Public Property Callback As ParseResultHandler
'Usage
Dim instance As ParseRequest 
Dim value As ParseResultHandler 

value = instance.Callback

instance.Callback = value
public ParseResultHandler Callback { get; set; }
public:
property ParseResultHandler^ Callback {
    ParseResultHandler^ get ();
    void set (ParseResultHandler^ value);
}
public function get Callback () : ParseResultHandler 
public 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

ParseRequest Members

Microsoft.VisualStudio.Package Namespace