This Zip overload should never be called.
This method is marked as obsolete and always throws
NotSupportedException when invoked.
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 Zip(Of TFirst, TSecond, TResult) ( _
first As ParallelQuery(Of TFirst), _
second As IEnumerable(Of TSecond), _
resultSelector As Func(Of TFirst, TSecond, 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> Zip<TFirst, TSecond, TResult>(
ParallelQuery<TFirst> first,
IEnumerable<TSecond> second,
Func<TFirst, TSecond, TResult> resultSelector
)
|
Parameters
- first
- Type: System.Linq..::.ParallelQuery<(Of <(TFirst>)>)
This parameter is not used.
- second
- Type: System.Collections.Generic..::.IEnumerable<(Of <(TSecond>)>)
This parameter is not used.
- resultSelector
- Type: System..::.Func<(Of <(TFirst, TSecond, TResult>)>)
This parameter is not used.
Type Parameters
- TFirst
- This type parameter is not used.
- TSecond
- This type parameter is not used.
- TResult
- This type parameter is not used.
Return Value
This overload always throws a
NotSupportedException.
Remarks
Exceptions
Exception | Condition |
---|
System..::.NotSupportedException | The exception that occurs when this method is called. |
See Also