Callbacks for methods that may process the results with either an RDF or a SPARQL Results Handler.
Namespace:
VDS.RDF
Assembly:
dotNetRDF (in dotNetRDF.dll) Version:
Syntax public delegate void QueryCallback(
IRdfHandler rdfHandler,
ISparqlResultsHandler resultsHandler,
Object state
)
Public Delegate Sub QueryCallback (
rdfHandler As IRdfHandler,
resultsHandler As ISparqlResultsHandler,
state As Object
)
Parameters
- rdfHandler
- Type: VDS.RDFIRdfHandler
RDF Handler. - resultsHandler
- Type: VDS.RDFISparqlResultsHandler
SPARQL Results Handler. - state
- Type: SystemObject
State.
Remarks
In the event of an error you will be passed an instance of
AsyncError which will contain the error and the original state information you passed into the method that took this callback.
See Also