DelegateSearchTask Class
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.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Microsoft.VisualStudio.Shell.VsSearchTask
Microsoft.VisualStudio.PlatformUI.DelegateSearchTask
| Name | Description | |
|---|---|---|
![]() | DelegateSearchTask(UInt32, IVsSearchQuery, IVsSearchCallback, Action<DelegateSearchTask>) | Creates an instance of DelegateSearchTask. |
| Name | Description | |
|---|---|---|
![]() | ErrorCode | Gets or sets the error code describing the search result if the search task has completed with errors. If the task completes without errors, this property is set to zero (0).(Inherited from VsSearchTask.) |
![]() | Id | Gets the search task identifier. The task identifier is the cookie passed in the VsSearchTask constructor when the task was created.(Inherited from VsSearchTask.) |
![]() | IsStopped | Determines whether or not the search is stopped. |
![]() | SearchCallback | Gets the callback interface that needs to be called when the search is complete.(Inherited from VsSearchTask.) |
![]() | SearchQuery | Gets the search query used by the search task.(Inherited from VsSearchTask.) |
![]() | SearchResults | Gets or sets the number of search results found. Set this value appropriately as the search progresses.(Inherited from VsSearchTask.) |
![]() | TaskStatus | Gets the status of the current search. This property is set to appropriate values as the search progresses.(Inherited from VsSearchTask.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | OnStartSearch() | Handles the StartSearch event.(Overrides VsSearchTask.OnStartSearch().) |
![]() | OnStopSearch() | Called on the UI thread when the search is stopped. Override to do task-specific stop actions.(Inherited from VsSearchTask.) |
![]() | SetTaskStatus(VSConstants.VsSearchTaskStatus) | 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.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



