Executes a query based on the supplied QueryConfig.
Results will be reported via the supplied instance of ObservableQueryResult.
Namespace: StreamBase.LiveView.APIAssembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 10.3.0.4 (10.3.0.4)
Syntax
| C# | Visual Basic | Visual C++ |
IQuery ExecuteQuery( QueryConfig config, ObservableQueryResult result )
Function ExecuteQuery ( _ config As QueryConfig, _ result As ObservableQueryResult _ ) As IQuery
IQuery^ ExecuteQuery( QueryConfig^ config, ObservableQueryResult^ result )
Parameters
- config
- QueryConfig
Configuration object describing the query to execute.
- result
- ObservableQueryResult
This will be used to report the results of the query.
Return Value
The IQuery generated by this request.
Exceptions
| Exception | Condition |
|---|---|
| StreamBase.LiveView.API..::..LiveViewException | If there is a problem with the query or a network issue. |