언어

ShapedQueryCompilingExpressionVisitor.SingleAsync<TSource> 메서드

정의

Entity Framework Core 인프라를 지원하고 공용 API와 동일한 호환성 표준이 적용되지 않는 내부 API입니다. 릴리스에서 예고 없이 변경되거나 제거될 수 있습니다. 코드에서 직접 사용해야 하며 이렇게 하면 새 Entity Framework Core 릴리스로 업데이트할 때 애플리케이션 오류가 발생할 수 있다는 것을 알고 있어야 합니다.

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public static System.Threading.Tasks.Task<TSource> SingleAsync<TSource>(System.Collections.Generic.IAsyncEnumerable<TSource> asyncEnumerable, System.Threading.CancellationToken cancellationToken = default);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
static member SingleAsync : System.Collections.Generic.IAsyncEnumerable<'Source> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<'Source>
Public Shared Function SingleAsync(Of TSource) (asyncEnumerable As IAsyncEnumerable(Of TSource), Optional cancellationToken As CancellationToken = Nothing) As Task(Of TSource)

형식 매개 변수

TSource

매개 변수

asyncEnumerable
IAsyncEnumerable<TSource>
cancellationToken
CancellationToken

반품

Task<TSource>
특성

적용 대상