ResultCallback delegate
Represents the callback method to be executed when an asynchronous search query request to a federated location is completed.
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Delegate Sub ResultCallback ( _
xmlDoc As XmlDocument _
)
'Usage
Dim instance As New ResultCallback(AddressOf HandlerMethod)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public delegate void ResultCallback(
XmlDocument xmlDoc
)
Parameters
xmlDoc
Type: System.Xml.XmlDocumentThe XML containing the set of results returned for a search query.
Remarks
The XML in the xmlDoc parameter is the same format as the XML returned by the GetResults(QueryManager) method.