ResultCallback - Délégué

Représente la méthode de rappel à exécuter lorsqu'une demande de requête de recherche asynchrone à un emplacement fédéré est terminée.

Espace de noms :  Microsoft.Office.Server.Search.Query
Assembly :  Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)

Syntaxe

'Déclaration
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Delegate Sub ResultCallback ( _
    xmlDoc As XmlDocument _
)
'Utilisation
Dim instance As New ResultCallback(AddressOf HandlerMethod)
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public delegate void ResultCallback(
    XmlDocument xmlDoc
)

Paramètres

  • xmlDoc
    Type : System.Xml.XmlDocument

    Le code XML contenant le jeu de résultats renvoyés par une requête de recherche.

Remarques

Le code XML dans le paramètre xmlDoc est le même format que le code XML renvoyé par la méthode GetResults(QueryManager) .

Voir aussi

Référence

Microsoft.Office.Server.Search.Query - Espace de noms