Share via


EntityDataReader.NextResultAsync(CancellationToken) Method

Definition

Asynchronously moves the reader to the next result set when reading a batch of statements

[System.Diagnostics.DebuggerStepThrough]
public override System.Threading.Tasks.Task<bool> NextResultAsync (System.Threading.CancellationToken cancellationToken);
override this.NextResultAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>

Parameters

cancellationToken
CancellationToken

A CancellationToken to observe while waiting for the task to complete.

Returns

A task that represents the asynchronous operation. The task result contains true if there are more result sets; false otherwise.

Attributes

Applies to