語言

AffectedCountModificationCommandBatch.ConsumeAsync 方法

定義

多載

ConsumeAsync(RelationalDataReader, CancellationToken)

來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs
來源:
AffectedCountModificationCommandBatch.cs

消耗由 所 ExecuteAsync(IRelationalConnection, CancellationToken)建立的資料讀取器。

protected override System.Threading.Tasks.Task ConsumeAsync(Microsoft.EntityFrameworkCore.Storage.RelationalDataReader reader, System.Threading.CancellationToken cancellationToken = default);
override this.ConsumeAsync : Microsoft.EntityFrameworkCore.Storage.RelationalDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function ConsumeAsync (reader As RelationalDataReader, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

reader
RelationalDataReader

資料讀取器。

cancellationToken
CancellationToken

A CancellationToken 在等待任務完成時觀察。

傳回

一個代表非同步操作的任務。

例外狀況

適用於

ConsumeAsync(DbDataReader, CancellationToken)

protected override System.Threading.Tasks.Task ConsumeAsync(System.Data.Common.DbDataReader reader, System.Threading.CancellationToken cancellationToken = default);
override this.ConsumeAsync : System.Data.Common.DbDataReader * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Protected Overrides Function ConsumeAsync (reader As DbDataReader, Optional cancellationToken As CancellationToken = Nothing) As Task

參數

reader
DbDataReader
cancellationToken
CancellationToken

傳回

適用於