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
Represents an asynchonous result of a database API operation without a return type. Use this class to create asynchronous. Use this class to create asynchronous database operations.
Implements
System.Runtime.CompilerServices.INotifyCompletion
Namespace: VeloxDB.Client
Assembly: vlxc.dll
Syntax
public abstract class DatabaseTask : Object, INotifyCompletion
Properties
IsCompleted
Used by the await mechanism (C# comiler). Do not use this property directly.
Declaration
public bool IsCompleted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetAwaiter()
Used by the await mechanism (C# comiler). Do not use this method directly.
Declaration
public DatabaseTask GetAwaiter()
Returns
Type | Description |
---|---|
DatabaseTask |
GetResult()
Used by the await mechanism (C# comiler). Do not use this method directly.
Declaration
public void GetResult()
OnCompleted(Action)
Used by the await mechanism (C# comiler). Do not use this method directly.
Declaration
public void OnCompleted(Action awaitContinuation)
Parameters
Type | Name | Description |
---|---|---|
System.Action | awaitContinuation |
Implements
System.Runtime.CompilerServices.INotifyCompletion