The method is called asynchronously in response to raising the SearchDesktop event.

Namespace:  RedCritterDesktopSearchV1
Assembly:  RedCritterDesktopSearchV1 (in RedCritterDesktopSearchV1.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
void OnSearchDesktop(
	string requestID,
	XDocument results
)
Sub OnSearchDesktop ( _
	requestID As String, _
	results As XDocument _
)
void OnSearchDesktop(
	String^ requestID, 
	XDocument^ results
)

Parameters

requestID
String
The Request ID that your App passed to the SearchDesktop event.
results
XDocument
The Destkop Search Query results as a System.Xml.Linq.XDocument

Remarks

Status attribute contains result, Exception attribute contains exception message in the event an error ocurred. A Status of 'Unavailable' indicates that the Windows Desktop Search API is unavailable on the machine.

See Also