ILocationRuntime.SendRequest Method (String, ResultCallback)
Submits an asynchronous request for the query to the federated location, and retrieves the result for the asynchronous request.
Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)
Syntax
'Declaration
Function SendRequest ( _
queryURL As String, _
callback As ResultCallback _
) As IAsyncResult
'Usage
Dim instance As ILocationRuntime
Dim queryURL As String
Dim callback As ResultCallback
Dim returnValue As IAsyncResult
returnValue = instance.SendRequest(queryURL, _
callback)
IAsyncResult SendRequest(
string queryURL,
ResultCallback callback
)
Parameters
queryURL
Type: System.StringA string containing the federated location URL and the search query.
callback
Type: Microsoft.Office.Server.Search.Query.ResultCallbackThe callback function.
Return Value
Type: System.IAsyncResult
The status of the asynchronous request.