Click or drag to resize
EnumerableExOnErrorResumeNextTSource Method (IEnumerableIEnumerableTSource)
Creates a sequence that concatenates the given sequences, regardless of whether an error occurs in any of the sequences.

Namespace: System.Linq
Assembly: System.Interactive (in System.Interactive.dll) Version: 1.2.0.0
Syntax
C#
public static IEnumerable<TSource> OnErrorResumeNext<TSource>(
	this IEnumerable<IEnumerable<TSource>> sources
)

Parameters

sources
Type: System.Collections.GenericIEnumerableIEnumerableTSource
Source sequences.

Type Parameters

TSource
Source sequence element type.

Return Value

Type: IEnumerableTSource
Sequence concatenating the elements of the given sequences, ignoring errors.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableIEnumerableTSource. 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).
See Also