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. |