ParallelEnumerable.AsSequential<TSource> メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
クエリを強制的に順次評価するために、 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<T> としてのソース。
例外
source は null 参照です (Visual Basicでは Nothing)。
注釈
詳細については、「 PLINQ での注文の保持 」および「 方法: PLINQ クエリで順序を制御する」を参照してください。