Search Task Class
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.
Microsoft internal use only. A convenience class that let you specify the work that the search task needs to do. It is derived from VsSearchTask.
public ref class DelegateSearchTask : Microsoft::VisualStudio::Shell::VsSearchTask
[Windows::Foundation::Metadata::WebHostHidden] class DelegateSearchTask : Microsoft::VisualStudio::Shell::VsSearchTask
public class DelegateSearchTask : Microsoft.VisualStudio.Shell.VsSearchTask
type DelegateSearchTask = class inherit VsSearchTask
Public Class DelegateSearchTask Inherits VsSearchTask
|DelegateSearchTask(UInt32, IVsSearchQuery, IVsSearchCallback, Action<DelegateSearchTask>)||
Creates an instance of DelegateSearchTask.
The error code describing the search result, should the search task have completed with errors(Inherited from VsSearchTask)
The search task identifier(Inherited from VsSearchTask)
Determines whether or not the search is stopped.
The callback interface that needs to be called when the search is complete(Inherited from VsSearchTask)
The search query used by the search task(Inherited from VsSearchTask)
The number of search results found(Inherited from VsSearchTask)
The status of the current search This needs to be set to appropriate values as the search progresses(Inherited from VsSearchTask)
Handles the StartSearch event.
Called on the UI thread when the search is stopped. Override to do task-specific stop actions. Note: a search can be set to stopped state even before it's actually started Override to stop the search, and set the SearchResults appropriately so it can be reported for completion(Inherited from VsSearchTask)
Helper function to set the task status(Inherited from VsSearchTask)
Starts the search task(Inherited from VsSearchTask)
Stops the search task(Inherited from VsSearchTask)
Explicit Interface Implementations
The task status(Inherited from VsSearchTask)