ParallelEnumerable.Concat Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Zřetězí dvě paralelní sekvence.
Přetížení
| Name | Description |
|---|---|
| Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>) |
Zastaralé.
Toto přetížení Concat by nikdy nemělo být volána. Tato metoda je označena jako zastaralá a při zavolání vždy vyvolá NotSupportedException . |
| Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>) |
Zřetězí dvě paralelní sekvence. |
Concat<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)
- Zdroj:
- ParallelEnumerable.cs
- Zdroj:
- ParallelEnumerable.cs
- Zdroj:
- ParallelEnumerable.cs
- Zdroj:
- ParallelEnumerable.cs
- Zdroj:
- ParallelEnumerable.cs
Upozornění
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>.
Toto přetížení Concat by nikdy nemělo být volána. Tato metoda je označena jako zastaralá a při zavolání vždy vyvolá 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)
Parametry typu
- TSource
Tento parametr typu se nepoužívá.
Parametry
- first
- ParallelQuery<TSource>
Tento parametr není používán.
- second
- IEnumerable<TSource>
Tento parametr není používán.
Návraty
Toto přetížení vždy vyvolá NotSupportedException.
- Atributy
Výjimky
Výjimka, která nastane při zavolání této metody.
Poznámky
Toto přetížení existuje k zakázání použití Concat s levým zdrojem dat typu ParallelQuery<TSource> a správným zdrojem dat typu IEnumerable<T>. Jinak se zdá, že operátor Concat je vázán na paralelní implementaci, ale ve skutečnosti by se sváže s sekvenční implementací.
Viz také
Platí pro
Concat<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)
- Zdroj:
- ParallelEnumerable.cs
- Zdroj:
- ParallelEnumerable.cs
- Zdroj:
- ParallelEnumerable.cs
- Zdroj:
- ParallelEnumerable.cs
- Zdroj:
- ParallelEnumerable.cs
Zřetězí dvě paralelní sekvence.
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)
Parametry typu
- TSource
Typ prvků vstupních sekvencí.
Parametry
- first
- ParallelQuery<TSource>
První sekvence, která se zřetědí.
- second
- ParallelQuery<TSource>
Sekvence, která se zřetědí k první sekvenci.
Návraty
Sekvence, která obsahuje zřetězené prvky dvou vstupních sekvencí.
Výjimky
first nebo second je nulový odkaz (nic v Visual Basic).