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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.