ParallelEnumerable.LongCount 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
병렬 시퀀스의 총 요소 수를 나타내는 Int64를 반환합니다.
오버로드
| Name | Description |
|---|---|
| LongCount<TSource>(ParallelQuery<TSource>) |
병렬 시퀀스의 총 요소 수를 나타내는 Int64를 반환합니다. |
| LongCount<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>) |
조건을 충족하는 병렬 시퀀스의 요소 수를 나타내는 Int64를 반환합니다. |
LongCount<TSource>(ParallelQuery<TSource>)
- Source:
- ParallelEnumerable.cs
- Source:
- ParallelEnumerable.cs
- Source:
- ParallelEnumerable.cs
- Source:
- ParallelEnumerable.cs
- Source:
- ParallelEnumerable.cs
병렬 시퀀스의 총 요소 수를 나타내는 Int64를 반환합니다.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static long LongCount(System::Linq::ParallelQuery<TSource> ^ source);
public static long LongCount<TSource>(this System.Linq.ParallelQuery<TSource> source);
static member LongCount : System.Linq.ParallelQuery<'Source> -> int64
<Extension()>
Public Function LongCount(Of TSource) (source As ParallelQuery(Of TSource)) As Long
형식 매개 변수
- TSource
의 요소 형식입니다 source.
매개 변수
- source
- ParallelQuery<TSource>
계산할 요소가 들어 있는 시퀀스입니다.
반품
입력 시퀀스의 요소 수입니다.
예외
전달된 토큰으로 쿼리가 취소되었습니다 WithCancellation<TSource>(ParallelQuery<TSource>, CancellationToken).
source null 참조(Visual Basic 없음)입니다.
원본의 요소 수가 Int32.MaxValue보다 큰 경우 -또는- 쿼리를 평가하는 동안 하나 이상의 예외가 발생했습니다.
계산된 결과가 Int32.MaxValue보다 큽합니다.
추가 정보
적용 대상
LongCount<TSource>(ParallelQuery<TSource>, Func<TSource,Boolean>)
- Source:
- ParallelEnumerable.cs
- Source:
- ParallelEnumerable.cs
- Source:
- ParallelEnumerable.cs
- Source:
- ParallelEnumerable.cs
- Source:
- ParallelEnumerable.cs
조건을 충족하는 병렬 시퀀스의 요소 수를 나타내는 Int64를 반환합니다.
public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
static long LongCount(System::Linq::ParallelQuery<TSource> ^ source, Func<TSource, bool> ^ predicate);
public static long LongCount<TSource>(this System.Linq.ParallelQuery<TSource> source, Func<TSource,bool> predicate);
static member LongCount : System.Linq.ParallelQuery<'Source> * Func<'Source, bool> -> int64
<Extension()>
Public Function LongCount(Of TSource) (source As ParallelQuery(Of TSource), predicate As Func(Of TSource, Boolean)) As Long
형식 매개 변수
- TSource
의 요소 형식입니다 source.
매개 변수
- source
- ParallelQuery<TSource>
계산할 요소가 들어 있는 시퀀스입니다.
반품
조건자 함수의 조건을 충족하는 시퀀스의 요소 수를 나타내는 숫자입니다.
예외
전달된 토큰으로 쿼리가 취소되었습니다 WithCancellation<TSource>(ParallelQuery<TSource>, CancellationToken).
source 또는 predicate null 참조(Visual Basic 없음)입니다.
원본의 요소 수가 Int32.MaxValue보다 큰 경우 -또는- 쿼리를 평가하는 동안 하나 이상의 예외가 발생했습니다.
계산된 결과가 Int32.MaxValue보다 큽합니다.