Interface IAsyncUpdateableStorage
Interface for storage providers which allow SPARQL Updates to be made against them asynchronously.
Inherited Members
System.IDisposable.Dispose()
Namespace: VDS.RDF.Storage
Assembly: dotNetRdf.dll
Syntax
public interface IAsyncUpdateableStorage : IAsyncQueryableStorage, IAsyncStorageProvider, IStorageCapabilities, IDisposable
Methods
| Improve this Doc 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. |
System.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 | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |