IAsyncQueryableStorage.Query Method (String, AsyncStorageCallback, Object) |
Queries the store asynchronously.
Namespace:
VDS.RDF.Storage
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntaxvoid Query(
string sparqlQuery,
AsyncStorageCallback callback,
Object state
)
Sub Query (
sparqlQuery As String,
callback As AsyncStorageCallback,
state As Object
)
Parameters
- sparqlQuery
- Type: System.String
SPARQL Query. - callback
- Type: VDS.RDF.Storage.AsyncStorageCallback
Callback. - state
- Type: System.Object
State to pass to the callback.
ExceptionsException | Condition |
---|
RdfQueryException | Thrown if an error occurs performing the query. |
RdfStorageException | Thrown if an error occurs performing the query. |
RdfParseException | Thrown if the query is invalid when validated by dotNetRDF prior to passing the query request to the store or if the request succeeds but the store returns malformed results. |
RdfParserSelectionException | Thrown if the store returns results in a format dotNetRDF does not understand. |
See Also