Partager via


OpenSearchRuntime.SendRequest Method (String, ResultCallback)

Submits an asynchronous request for the query to the OpenSearch 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
Public Function SendRequest ( _
    query As String, _
    callback As ResultCallback _
) As IAsyncResult
'Usage
Dim instance As OpenSearchRuntime
Dim query As String
Dim callback As ResultCallback
Dim returnValue As IAsyncResult

returnValue = instance.SendRequest(query, _
    callback)
public IAsyncResult SendRequest(
    string query,
    ResultCallback callback
)

Parameters

  • query
    Type: System.String

    A string containing the location URL and the search query.

Return Value

Type: System.IAsyncResult
The status of the asynchronous request.

Implements

ILocationRuntime.SendRequest(String, ResultCallback)

See Also

Reference

OpenSearchRuntime Class

OpenSearchRuntime Members

SendRequest Overload

Microsoft.Office.Server.Search.Query Namespace