Qbservable.OnErrorResumeNext<TSource> Method (IQbservable<TSource>, IObservable<TSource>)

Continues a queryable observable sequence that is terminated normally or by an exception with the next queryable observable sequence.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive.Providers (in System.Reactive.Providers.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function OnErrorResumeNext(Of TSource) ( _
    first As IQbservable(Of TSource), _
    second As IObservable(Of TSource) _
) As IQbservable(Of TSource)
'Usage
Dim first As IQbservable(Of TSource)
Dim second As IObservable(Of TSource)
Dim returnValue As IQbservable(Of TSource)

returnValue = first.OnErrorResumeNext(second)
public static IQbservable<TSource> OnErrorResumeNext<TSource>(
    this IQbservable<TSource> first,
    IObservable<TSource> second
)
[ExtensionAttribute]
public:
generic<typename TSource>
static IQbservable<TSource>^ OnErrorResumeNext(
    IQbservable<TSource>^ first, 
    IObservable<TSource>^ second
)
static member OnErrorResumeNext : 
        first:IQbservable<'TSource> * 
        second:IObservable<'TSource> -> IQbservable<'TSource> 
JScript does not support generic types and methods.

Type Parameters

  • TSource
    The type of source.

Parameters

  • second
    Type: System.IObservable<TSource>
    Second queryable observable sequence used to produce results after the first sequence terminates.

Return Value

Type: System.Reactive.Linq.IQbservable<TSource>
A queryable observable sequence that concatenates the first and second sequence, even if the first sequence terminates exceptionally.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IQbservable<TSource>. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also

Reference

Qbservable Class

OnErrorResumeNext Overload

System.Reactive.Linq Namespace