Interface IAsyncTransactionalStorage
Interface for storage providers which have controllable transactions which can be managed asynchronously.
Namespace: VDS.RDF.Storage
Assembly: dotNetRdf.dll
Syntax
public interface IAsyncTransactionalStorage
Methods
| Improve this Doc View SourceBegin(AsyncStorageCallback, object)
Begins a transaction asynchronously.
Declaration
void Begin(AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |
Commit(AsyncStorageCallback, object)
Commits a transaction asynchronously.
Declaration
void Commit(AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |
Rollback(AsyncStorageCallback, object)
Rolls back a transaction asynchronously.
Declaration
void Rollback(AsyncStorageCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
AsyncStorageCallback | callback | Callback. |
System.Object | state | State to pass to the callback. |