LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlDataReader.GetColumnSchemaAsync method

Returns metadata about the columns in the result set.

public override Task<ReadOnlyCollection<DbColumn>> GetColumnSchemaAsync(
    CancellationToken cancellationToken = default)
cancellationTokenA token to cancel the operation.

Return Value

A Task containing ReadOnlyCollection containing metadata about the result set.


This method runs synchronously; prefer to call GetColumnSchema to avoid the overhead of allocating an unnecessary Task.

See Also