ParallelEnumerable.Except Methode

Definitie

Produceert het setverschil van twee parallelle reeksen.

Overloads

Name Description
Except<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>)
Verouderd.

Dit behalve overbelasting mag nooit worden aangeroepen. Deze methode wordt gemarkeerd als verouderd en genereert NotSupportedException altijd wanneer deze wordt aangeroepen.

Except<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

Produceert het setverschil van twee parallelle reeksen met behulp van de standaard gelijkheidsgelijker om waarden te vergelijken.

Except<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)
Verouderd.

Dit behalve overbelasting mag nooit worden aangeroepen. Deze methode wordt gemarkeerd als verouderd en genereert NotSupportedException altijd wanneer deze wordt aangeroepen.

Except<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>, IEqualityComparer<TSource>)

Produceert het setverschil van twee parallelle reeksen met behulp van de opgegeven IEqualityComparer<T> om waarden te vergelijken.

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

Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs

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>.

Dit behalve 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> ^ Except(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> Except<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 Except : System.Linq.ParallelQuery<'Source> * seq<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Except(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 Behalve met een linkergegevensbron van het type ParallelQuery<TSource> en een juiste gegevensbron van het type IEnumerable<T>niet toe te laten. Anders lijkt de operator Behalve bindend te zijn voor de parallelle implementatie, maar zou deze in werkelijkheid binden aan de sequentiële implementatie.

Zie ook

Van toepassing op

Except<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>)

Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs

Produceert het setverschil van twee parallelle reeksen met behulp van de standaard gelijkheidsgelijker om waarden te vergelijken.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Except(System::Linq::ParallelQuery<TSource> ^ first, System::Linq::ParallelQuery<TSource> ^ second);
public static System.Linq.ParallelQuery<TSource> Except<TSource>(this System.Linq.ParallelQuery<TSource> first, System.Linq.ParallelQuery<TSource> second);
static member Except : System.Linq.ParallelQuery<'Source> * System.Linq.ParallelQuery<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Except(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>

Een reeks waarvan de elementen die niet ook aanwezig second zijn, worden geretourneerd.

second
ParallelQuery<TSource>

Een reeks waarvan de elementen die ook in de eerste reeks voorkomen, zorgt ervoor dat deze elementen worden verwijderd uit de geretourneerde reeks.

Retouren

Een reeks die het setverschil van de elementen van twee reeksen bevat.

Uitzonderingen

first of second is een null-verwijzing (niets in Visual Basic).

De query is geannuleerd met het token dat is doorgegeven via WithCancellation<TSource>(ParallelQuery<TSource>, CancellationToken).

Er zijn een of meer uitzonderingen opgetreden tijdens de evaluatie van de query.

Zie ook

Van toepassing op

Except<TSource>(ParallelQuery<TSource>, IEnumerable<TSource>, IEqualityComparer<TSource>)

Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs

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>.

Dit behalve 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> ^ Except(System::Linq::ParallelQuery<TSource> ^ first, System::Collections::Generic::IEnumerable<TSource> ^ second, System::Collections::Generic::IEqualityComparer<TSource> ^ comparer);
[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> Except<TSource>(this System.Linq.ParallelQuery<TSource> first, System.Collections.Generic.IEnumerable<TSource> second, System.Collections.Generic.IEqualityComparer<TSource> comparer);
[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> Except<TSource>(this System.Linq.ParallelQuery<TSource> first, System.Collections.Generic.IEnumerable<TSource> second, System.Collections.Generic.IEqualityComparer<TSource>? comparer);
[<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 Except : System.Linq.ParallelQuery<'Source> * seq<'Source> * System.Collections.Generic.IEqualityComparer<'Source> -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Except(Of TSource) (first As ParallelQuery(Of TSource), second As IEnumerable(Of TSource), comparer As IEqualityComparer(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.

comparer
IEqualityComparer<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 Behalve met een linkergegevensbron van het type ParallelQuery<TSource> en een juiste gegevensbron van het type IEnumerable<T>niet toe te laten. Anders lijkt de operator Behalve bindend te zijn voor de parallelle implementatie, maar zou deze in werkelijkheid binden aan de sequentiële implementatie.

Zie ook

Van toepassing op

Except<TSource>(ParallelQuery<TSource>, ParallelQuery<TSource>, IEqualityComparer<TSource>)

Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs
Bron:
ParallelEnumerable.cs

Produceert het setverschil van twee parallelle reeksen met behulp van de opgegeven IEqualityComparer<T> om waarden te vergelijken.

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

Type parameters

TSource

Het type van de elementen van de invoerreeksen.

Parameters

first
ParallelQuery<TSource>

Een reeks waarvan de elementen die niet ook aanwezig second zijn, worden geretourneerd.

second
ParallelQuery<TSource>

Een reeks waarvan de elementen die ook in de eerste reeks voorkomen, zorgt ervoor dat deze elementen worden verwijderd uit de geretourneerde reeks.

comparer
IEqualityComparer<TSource>

IEqualityComparer<T> om waarden te vergelijken.

Retouren

Een reeks die het setverschil van de elementen van twee reeksen bevat.

Uitzonderingen

first of second is een null-verwijzing (niets in Visual Basic).

De query is geannuleerd met het token dat is doorgegeven via WithCancellation<TSource>(ParallelQuery<TSource>, CancellationToken).

Er zijn een of meer uitzonderingen opgetreden tijdens de evaluatie van de query.

Zie ook

Van toepassing op