EntityDataReader.NextResultAsync Method

 

Namespace:   System.Data.Entity.Core.EntityClient
Assembly:  EntityFramework (in EntityFramework.dll)

NameDescription
System_CAPS_pubmethodNextResultAsync()

(Inherited from DbDataReader.)

System_CAPS_pubmethodNextResultAsync(CancellationToken)

Asynchronously moves the reader to the next result set when reading a batch of statements(Overrides DbDataReader.NextResultAsync(CancellationToken).)


EntityDataReader.NextResultAsync Method (CancellationToken)

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

[DebuggerStepThroughAttribute]
public override Task<bool> NextResultAsync(
	CancellationToken cancellationToken
)

Parameters

cancellationToken
Type: System.Threading.CancellationToken

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

Return Value

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

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