Observable.Throw<TValue> Method (Exception)

March 22, 2012

Returns an observable sequence that terminates with an exception.

Namespace:  Microsoft.Phone.Reactive
Assembly:  Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)

public static IObservable<TValue> Throw<TValue>(
	Exception exception
)

Type Parameters

TValue

Parameters

exception
Type: System.Exception

Return Value

Type: System.IObservable<TValue>
Returns IObservable<T>.

Windows Phone OS

Supported in: 7.1, 7.0

Windows Phone

Show: