Share via


VsSearchTask.OnStopSearch Method

Definition

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

protected:
 virtual void OnStopSearch();
protected:
 virtual void OnStopSearch();
 virtual void OnStopSearch();
protected virtual void OnStopSearch ();
abstract member OnStopSearch : unit -> unit
override this.OnStopSearch : unit -> unit
Protected Overridable Sub OnStopSearch ()

Remarks

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.

Applies to