DelegateSearchTask Class
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.
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
- Inheritance
Delegate |
Creates an instance of DelegateSearchTask. |
Error |
The error code describing the search result, should the search task have completed with errors (Inherited from VsSearchTask) |
Id |
The search task identifier (Inherited from VsSearchTask) |
Is |
Determines whether or not the search is stopped. |
Search |
The callback interface that needs to be called when the search is complete (Inherited from VsSearchTask) |
Search |
The search query used by the search task (Inherited from VsSearchTask) |
Search |
The number of search results found (Inherited from VsSearchTask) |
Task |
The status of the current search This needs to be set to appropriate values as the search progresses (Inherited from VsSearchTask) |
On |
Handles the StartSearch event. |
On |
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) |
Set |
Helper function to set the task status (Inherited from VsSearchTask) |
Start() |
Starts the search task (Inherited from VsSearchTask) |
Stop() |
Stops the search task (Inherited from VsSearchTask) |
IVs |
The task status (Inherited from VsSearchTask) |