VsSearchTask.OnStopSearch Method ()

 

Called on the UI thread when the search is stopped. Override to do task-specific stop actions.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

abstract OnStopSearch : unit -> unit
override OnStopSearch : unit -> unit

A search can be set to a stopped state even before it is actually started. Override to stop the search, and set the SearchResults appropriately so it can be reported for completion.

Return to top
Show: