Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Observable.Throw<TResult> Method (Exception)

Returns an observable sequence that terminates with an exception.

Namespace:  System.Reactive.Linq
Assembly:  System.Reactive (in System.Reactive.dll)
public static IObservable<TResult> Throw<TResult>(
	Exception exception

Type Parameters


The type of result.


Type: System.Exception
The exception object used for the sequence’s termination.

Return Value

Type: System.IObservable<TResult>
Observable sequence that terminates exceptionally with the specified exception object.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.