ParallelEnumerable.GroupJoin(Of TOuter, TInner, TKey, TResult) Method (ParallelQuery(Of TOuter), IEnumerable(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, IEnumerable(Of TInner), TResult), IEqualityComparer(Of TKey))
This GroupJoin overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called.
Assembly: System.Core (in System.Core.dll)
<ExtensionAttribute> <ObsoleteAttribute("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 Shared Function GroupJoin(Of TOuter, TInner, TKey, TResult) ( outer As ParallelQuery(Of TOuter), inner As IEnumerable(Of TInner), outerKeySelector As Func(Of TOuter, TKey), innerKeySelector As Func(Of TInner, TKey), resultSelector As Func(Of TOuter, IEnumerable(Of TInner), TResult), comparer As IEqualityComparer(Of TKey) ) As ParallelQuery(Of TResult)
Parameters
- outer
-
Type:
System.Linq.ParallelQuery(Of TOuter)
This parameter is not used.
- inner
-
Type:
System.Collections.Generic.IEnumerable(Of TInner)
This parameter is not used.
- outerKeySelector
-
Type:
System.Func(Of TOuter, TKey)
This parameter is not used.
- innerKeySelector
-
Type:
System.Func(Of TInner, TKey)
This parameter is not used.
- resultSelector
-
Type:
System.Func(Of TOuter, IEnumerable(Of TInner), TResult)
This parameter is not used.
- comparer
-
Type:
System.Collections.Generic.IEqualityComparer(Of TKey)
This parameter is not used.
Return Value
Type: System.Linq.ParallelQuery(Of TResult)This overload always throws a NotSupportedException.
Type Parameters
- TOuter
This type parameter is not used.
- TInner
This type parameter is not used.
- TKey
This type parameter is not used.
- TResult
This type parameter is not used.
| Exception | Condition |
|---|---|
| NotSupportedException | The exception that occurs when this method is called. |
This overload exists to disallow usage of GroupJoin with a left data source of type ParallelQuery(Of TSource) and a right data source of type IEnumerable(Of T). Otherwise, the GroupJoin operator would appear to be binding to the parallel implementation, but would in reality bind to the sequential implementation.
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1