IsDBNullAsync(int)

This method returns a Task-based asynchronous version of OracleDataReader.IsDBNull(int32).

Declaration

// C#
public Task<bool> IsDBNullAsync(int index);

Parameter

index - The zero-based column index

Return Value

Task<bool> object representing the asynchronous operation immediately without blocking the calling thread for the whole duration of the query execution

Implements

DbDataReader

Exceptions

InvalidOperationException - The reader is closed, Read() has not been called, or all rows have been read.

IndexOutOfRangeException - The column index is invalid.

Remarks

This will call into the NextResultAsync implementation with argument cancellationToken passed as CancellationToken.None.