.NET Framework Class Library |
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>)>)) |
ParallelEnumerable Class See Also Send Feedback |
This GroupJoin overload should never be called.
This method is marked as obsolete and always throws NotSupportedException when called.
Namespace:
System.Linq
Assembly:
System.Threading (in System.Threading.dll)
Syntax
Visual Basic (Declaration) |
---|
<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) _ ) As ParallelQuery(Of TResult) |
C# |
---|
[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 static ParallelQuery<TResult> GroupJoin<TOuter, TInner, TKey, TResult>( ParallelQuery<TOuter> outer, IEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, IEnumerable<TInner>, TResult> resultSelector ) |
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.
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.
Return Value
This overload always throws a NotSupportedException.Remarks
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.
Exceptions
Exception | Condition |
---|---|
System..::.NotSupportedException | The exception that occurs when this method is called. |