Single Method

Task Parallel System.Threading

Overload List

  NameDescription
Single<(Of <(TSource>)>)(ParallelQuery<(Of <(TSource>)>))
Returns the only element of a parallel sequence, and throws an exception if there is not exactly one element in the sequence.
Single<(Of <(TSource>)>)(ParallelQuery<(Of <(TSource>)>), Func<(Of <(TSource, Boolean>)>))
Returns the only element of a parallel sequence that satisfies a specified condition, and throws an exception if more than one such element exists.

See Also