ParallelEnumerable.AsSequential<TSource>(ParallelQuery<TSource>) 메서드

정의

ParallelQuery<TSource>IEnumerable<T>로 변환하여 쿼리에 대한 순차적 확인을 강제합니다.Converts a ParallelQuery<TSource> into an IEnumerable<T> to force sequential evaluation of the query.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IEnumerable<TSource> ^ AsSequential(System::Linq::ParallelQuery<TSource> ^ source);
public static System.Collections.Generic.IEnumerable<TSource> AsSequential<TSource> (this System.Linq.ParallelQuery<TSource> source);
static member AsSequential : System.Linq.ParallelQuery<'Source> -> seq<'Source>
<Extension()>
Public Function AsSequential(Of TSource) (source As ParallelQuery(Of TSource)) As IEnumerable(Of TSource)

형식 매개 변수

TSource

source의 요소 형식입니다.The type of elements of source.

매개 변수

반환

IEnumerable<TSource>

순차적 확장 메서드에 바인딩할 소스 IEnumerable<T>입니다.The source as an IEnumerable<T> to bind to sequential extension methods.

예외

source가 null 참조(Visual Basic의 경우 Nothing)인 경우source is a null reference (Nothing in Visual Basic).

설명

자세한 내용은 plinq의 순서 유지방법: Plinq 쿼리의 순서 제어를 참조 하세요.For more information, see Order Preservation in PLINQ and How to: Control Ordering in a PLINQ Query.

적용 대상

추가 정보