ParallelEnumerable.Concat メソッド

定義

2 つの並列シーケンスを連結します。

オーバーロード

Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)
互換性のために残されています。

この Concat オーバーロードは呼び出さないでください。 このメソッドは互換性のために残されており、呼び出すと常に NotSupportedException をスローします。

Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

2 つの並列シーケンスを連結します。

Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)

注意事項

The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.

この Concat オーバーロードは呼び出さないでください。 このメソッドは互換性のために残されており、呼び出すと常に NotSupportedException をスローします。

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Concat(System::Linq::ParallelQuery<TSource> ^ first, System::Collections::Generic::IEnumerable<TSource> ^ second);
[System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")]
public static System.Linq.ParallelQuery<TSource> Concat<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Collections.Generic.IEnumerable<TSource> second);
[<System.Obsolete("The second data source of a binary operator must be of type System.Linq.ParallelQuery<T> rather than System.Collections.Generic.IEnumerable<T>. To fix this problem, use the AsParallel() extension method to convert the right data source to System.Linq.ParallelQuery<T>.")>]
static member Concat : System.Linq.ParallelQuery<'Source> * seq<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Concat(Of TSource) (first As ParallelQuery(Of TSource), second As IEnumerable(Of TSource)) As ParallelQuery(Of TSource)

型パラメーター

TSource

この型パラメーターは使用されません。

パラメーター

first
ParallelQuery<TSource>

このパラメーターは使用されません。

second
IEnumerable<TSource>

このパラメーターは使用されません。

戻り値

ParallelQuery<TSource>

このオーバーロードは常に NotSupportedException をスローします。

属性

例外

このメソッドが呼び出されたときに発生する例外。

注釈

このオーバーロードは、型の左側のデータ ソースと型 ParallelQuery<TSource> の右のデータ ソースで Concat を使用できないようにするために存在します IEnumerable<T>。 それ以外の場合、Concat 演算子は並列実装にバインドされているように見えますが、実際にはシーケンシャル実装にバインドされます。

こちらもご覧ください

適用対象

Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

2 つの並列シーケンスを連結します。

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Concat(System::Linq::ParallelQuery<TSource> ^ first, System::Linq::ParallelQuery<TSource> ^ second);
public static System.Linq.ParallelQuery<TSource> Concat<TSource> (this System.Linq.ParallelQuery<TSource> first, System.Linq.ParallelQuery<TSource> second);
static member Concat : System.Linq.ParallelQuery<'Source> * System.Linq.ParallelQuery<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Concat(Of TSource) (first As ParallelQuery(Of TSource), second As ParallelQuery(Of TSource)) As ParallelQuery(Of TSource)

型パラメーター

TSource

入力シーケンスの要素の型。

パラメーター

first
ParallelQuery<TSource>

連結する最初のシーケンス。

second
ParallelQuery<TSource>

最初のシーケンスに連結するシーケンス。

戻り値

ParallelQuery<TSource>

2 つの入力シーケンスの連結された要素が格納されているシーケンス。

例外

first または second が null 参照 (Visual Basic の場合は Nothing) です。

こちらもご覧ください

適用対象