ParallelEnumerable.Concat Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Voegt twee parallelle reeksen samen.
Overloads
| Name | Description |
|---|---|
| Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>) |
Verouderd.
Deze Concat-overbelasting mag nooit worden aangeroepen. Deze methode wordt gemarkeerd als verouderd en genereert NotSupportedException altijd wanneer deze wordt aangeroepen. |
| Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>) |
Voegt twee parallelle reeksen samen. |
Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)
Let op
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>.
Deze Concat-overbelasting mag nooit worden aangeroepen. Deze methode wordt gemarkeerd als verouderd en genereert NotSupportedException altijd wanneer deze wordt aangeroepen.
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)
Type parameters
- TSource
Deze typeparameter wordt niet gebruikt.
Parameters
- first
- ParallelQuery<TSource>
Deze parameter wordt niet gebruikt.
- second
- IEnumerable<TSource>
Deze parameter wordt niet gebruikt.
Retouren
Deze overbelasting gooit altijd een NotSupportedException.
- Kenmerken
Uitzonderingen
De uitzondering die optreedt wanneer deze methode wordt aangeroepen.
Opmerkingen
Deze overbelasting bestaat om het gebruik van Concat met een linkergegevensbron van het type ParallelQuery<TSource> en een juiste gegevensbron van het type IEnumerable<T>niet toe te laten. Anders lijkt de Concat-operator bindend te zijn voor de parallelle implementatie, maar zou deze in werkelijkheid binden aan de sequentiële implementatie.
Zie ook
Van toepassing op
Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)
Voegt twee parallelle reeksen samen.
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)
Type parameters
- TSource
Het type van de elementen van de invoerreeksen.
Parameters
- first
- ParallelQuery<TSource>
De eerste reeks die moet worden samengevoegd.
- second
- ParallelQuery<TSource>
De volgorde die moet worden samengevoegd met de eerste reeks.
Retouren
Een reeks die de samengevoegde elementen van de twee invoerreeksen bevat.
Uitzonderingen
first of second is een null-verwijzing (niets in Visual Basic).