Compartir a través de


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

Syntax

'Declaración
Protected Overridable Sub OnStopSearch
protected virtual void 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