다음을 통해 공유


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

Remarks

The XML in the xmlDoc parameter is the same format as the XML returned by the GetResults(QueryManager) method.

See Also

Reference

Microsoft.Office.Server.Search.Query Namespace