RemoteQueryProcessor.ProcessQuery Method (IRdfHandler, ISparqlResultsHandler, SparqlQuery, QueryCallback, Object) |
Processes a SPARQL Query asynchronously passing the results to the relevant handler and invoking the callback when the query completes.
Namespace:
VDS.RDF.Query
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntaxpublic void ProcessQuery(
IRdfHandler rdfHandler,
ISparqlResultsHandler resultsHandler,
SparqlQuery query,
QueryCallback callback,
Object state
)
Public Sub ProcessQuery (
rdfHandler As IRdfHandler,
resultsHandler As ISparqlResultsHandler,
query As SparqlQuery,
callback As QueryCallback,
state As Object
)
Parameters
- rdfHandler
- Type: VDS.RDF.IRdfHandler
RDF Handler. - resultsHandler
- Type: VDS.RDF.ISparqlResultsHandler
Results Handler. - query
- Type: VDS.RDF.Query.SparqlQuery
SPARQL Query. - callback
- Type: VDS.RDF.QueryCallback
Callback. - state
- Type: System.Object
State to pass to the callback.
Implements
ISparqlQueryProcessor.ProcessQuery(IRdfHandler, ISparqlResultsHandler, SparqlQuery, QueryCallback, Object)
Remarks
In the event of a success the callback will be invoked, if there is an error the callback will be invoked and passed an instance of
AsyncError which contains details of the error and the original state information passed in.
See Also