Qbservable.Throw<TResult> Method (IQbservableProvider, Exception, IScheduler)
Returns a queryable observable sequence that terminates with an exception with the specified scheduler.
Namespace: System.Reactive.Linq
Assembly: System.Reactive.Providers (in System.Reactive.Providers.dll)
public static IQbservable<TResult> Throw<TResult>( this IQbservableProvider provider, Exception exception, IScheduler scheduler )
Type Parameters
- TResult
The type of result.
Parameters
- provider
- Type: System.Reactive.Linq.IQbservableProvider
The local Qbservable provider.
- exception
- Type: System.Exception
The exception object used for the sequence’s termination.
- scheduler
- Type: System.Reactive.Concurrency.IScheduler
The scheduler to send the exceptional termination call on.
Return Value
Type: System.Reactive.Linq.IQbservable<TResult>A queryable observable sequence that terminates exceptionally with the specified exception object.