PostgresDbClient.DeleteAsync(String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Delete a entry by its key.
public System.Threading.Tasks.Task DeleteAsync (string tableName, string key, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function DeleteAsync (tableName As String, key As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- tableName
- String
The name assigned to a table of entries.
- key
- String
The key of the entry to delete.
- cancellationToken
- CancellationToken
The CancellationToken to monitor for cancellation requests. The default is None.