NextResultAsync Method
Collapse the table of content
Expand the table of content

DbDataReader.NextResultAsync Method ()

.NET Framework (current version)
 

An asynchronous version of NextResult, which advances the reader to the next result when reading the results of a batch of statements.

Invokes NextResultAsync with CancellationToken.None.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

member NextResultAsync : unit -> Task<bool>

Return Value

Type: System.Threading.Tasks.Task<Boolean>

A task representing the asynchronous operation.

Exception Condition
DbException

An error occurred while executing the command text.

For more information about asynchronous programming, see Asynchronous Programming.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top
Show:
© 2016 Microsoft