Executes a query based on the supplied QueryConfig. Results will be reported via the supplied instance of EventBasedQueryResult. Note that the event handlers configured should return quickly. In some situations, long running event handlers can trigger heartbeat failures and/or other connection problems, particularly in the face of high data rates.

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 2.2.8.5956 (2.2.8.5956)

Syntax

         
 C#  Visual Basic  Visual C++ 
IQuery ExecuteQuery(
	QueryConfig config,
	EventBasedQueryResult result
)
Function ExecuteQuery ( _
	config As QueryConfig, _
	result As EventBasedQueryResult _
) As IQuery
IQuery^ ExecuteQuery(
	QueryConfig^ config, 
	EventBasedQueryResult^ result
)

Parameters

config
QueryConfig
Configuration object describing the query to execute.
result
EventBasedQueryResult
This will be used to report the results of the query.

Return Value

The IQuery generated by this request.

Exceptions

ExceptionCondition
StreamBase.LiveView.API..::..LiveViewExceptionIf there is a problem with the query or a network issue.

See Also