Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
ILiveViewConnection..::ExecuteQuery Method (QueryConfig, ObservableQueryResult)

Executes a query based on the supplied QueryConfig. Results will be reported via the supplied instance of ObservableQueryResult.

Namespace: StreamBase.LiveView.API
Assembly: 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.

# See Also

ILiveViewConnection Interface
ExecuteQuery Overload
StreamBase.LiveView.API Namespace