Export (0) Print
Expand All

ParallelEnumerable.Join(Of TOuter, TInner, TKey, TResult) Method (ParallelQuery(Of TOuter), IEnumerable(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, TInner, TResult))

Note: This API is now obsolete.

This Join overload should never be called. This method is marked as obsolete and always throws NotSupportedException when invoked.

Namespace:  System.Linq
Assemblies:   System.Linq.Parallel (in System.Linq.Parallel.dll)
  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 Join(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, TInner, TResult) _
) As ParallelQuery(Of TResult)

Type Parameters


This type parameter is not used.


This type parameter is not used.


This type parameter is not used.


This type parameter is not used.


Type: System.Linq.ParallelQuery(Of TOuter)

This parameter is not used.

Type: System.Collections.Generic.IEnumerable(Of TInner)

This parameter is not used.

Type: System.Func(Of TOuter, TKey)

This parameter is not used.

Type: System.Func(Of TInner, TKey)

This parameter is not used.

Type: System.Func(Of TOuter, TInner, TResult)

This parameter is not used.

Return Value

Type: System.Linq.ParallelQuery(Of TResult)
This overload always throws a NotSupportedException.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ParallelQuery(Of TOuter). When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).


The query was canceled with the token passed in through WithCancellation.


source or action is a null reference (Nothing in Visual Basic).


One or more exceptions occurred during the evaluation of the query.

This overload exists to disallow usage Join with a left data source of type ParallelQuery(Of TSource) and a right data source of type IEnumerable(Of T). Otherwise, the Join operator would appear to be binding to the parallel implementation, but would in reality bind to the sequential implementation.

.NET Framework

Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2
Obsolete (compiler warning) in 4

.NET Framework Client Profile

Obsolete (compiler warning) in 4

Portable Class Library

Obsolete (compiler warning) in Portable Class Library

Obsolete (compiler warning) in Windows Phone 8.1
© 2015 Microsoft