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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Protected Overridable Sub OnStopSearch
protected virtual void OnStopSearch()
protected:
virtual void OnStopSearch()
abstract OnStopSearch : unit -> unit  
override OnStopSearch : unit -> unit
protected function 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.

.NET Framework Security

See Also

Reference

VsSearchTask Class

Microsoft.VisualStudio.Shell Namespace