ParallelEnumerable.AsSequential<TSource> メソッド

定義

ParallelQuery<TSource>IEnumerable<T> に変換して、クエリの順次評価を強制的に実行します。

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 の要素の型。

パラメーター

戻り値

IEnumerable<TSource>

順次拡張メソッドにバインドされる IEnumerable<T> としての source。

例外

source が null 参照 (Visual Basic では Nothing) です。

注釈

詳細については、「 PLINQ での順序の保持 」および「 方法: PLINQ クエリで順序付けを制御する」を参照してください。

適用対象

こちらもご覧ください