Interface IAsyncUpdateableStorage
Interface for storage providers which allow SPARQL Updates to be made against them asynchronously.
Inherited Members
Namespace: VDS.RDF.Storage
Assembly: dotNetRdf.dll
Syntax
public interface IAsyncUpdateableStorage : IAsyncQueryableStorage, IAsyncStorageProvider, IStorageCapabilities, IDisposable
Methods
| Edit this page View SourceUpdate(string, AsyncStorageCallback, object)
Updates the store asynchronously.
Declaration
[Obsolete("This method is obsolete and will be removed in a future version. Replaced by UpdateAsync(string, CancellationToken).")]
void Update(string sparqlUpdates, AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
string | sparqlUpdates | SPARQL Update. |
AsyncStorageCallback | callback | Callback. |
object | state | State to pass to the callback. |
UpdateAsync(string, CancellationToken)
Updates the store asynchronously.
Declaration
Task UpdateAsync(string sparqlUpdates, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
string | sparqlUpdates | |
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task |