UriLoaderLoad Method (ITripleStore, Uri, IStoreReader, TripleStoreCallback, Object) |
Namespace: VDS.RDF.Parsing
public static void Load( ITripleStore store, Uri u, IStoreReader parser, TripleStoreCallback callback, Object state )
If the parser parameter is set to null then this method attempts to select the relevant Store Parser based on the Content Type header returned in the HTTP Response.
If you know ahead of time the Content Type you can explicitly pass in the parser to use.
If the loading completes normally the callback will be invoked normally, if an error occurs it will be invoked and passed an instance of AsyncError as the state which contains details of the error and the original state.