語言

IDbAsyncEnumerator 介面

定義

介面的 IEnumerator 非同步版本,允許非同步擷取元素。 此介面用於與 Entity Framework 查詢互動,不應由自訂類別實作。

public interface IDbAsyncEnumerator : IDisposable
type IDbAsyncEnumerator = interface
    interface IDisposable
Public Interface IDbAsyncEnumerator
Implements IDisposable
衍生
實作

屬性

名稱 Description
Current

取得迭代中當前的元素。

方法

名稱 Description
MoveNextAsync(CancellationToken)

將列舉器推進到序列中的下一個元素,並以非同步方式回傳結果。

適用於