Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SqlDataReader.NextResultAsync Method

.NET Framework 4.5

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method NextResultAsync() 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. (Inherited from DbDataReader.)
Public method NextResultAsync(CancellationToken) An asynchronous version of NextResult, which advances the data reader to the next result, when reading the results of batch Transact-SQL statements.The cancellation token can be used to request that the operation be abandoned before the command timeout elapses. Exceptions will be reported via the returned Task object. (Overrides DbDataReader.NextResultAsync(CancellationToken).)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.