note
VeloxDB is still in beta and APIs are subject to change. We are in the process of completing the documentation, so some sections may be incomplete or empty at this time.
Class DatabaseTask<T>
Represents an asynchonous result of a database API operation of a given return type. Use this class to create asynchronous database operations.
Implements
System.Runtime.CompilerServices.INotifyCompletion
Namespace: VeloxDB.Client
Assembly: vlxc.dll
Syntax
public abstract class DatabaseTask<T> : DatabaseTask, INotifyCompletion
Type Parameters
Name | Description |
---|---|
T |
Methods
GetAwaiter()
Used by the await mechanism (C# comiler). Do not use this method directly.
Declaration
public DatabaseTask<T> GetAwaiter()
Returns
Type | Description |
---|---|
DatabaseTask<T> |
GetResult()
Used by the await mechanism (C# comiler). Do not use this method directly.
Declaration
public T GetResult()
Returns
Type | Description |
---|---|
T |
Implements
System.Runtime.CompilerServices.INotifyCompletion