Share via


Observable.Throw<TValue> Method (Exception, IScheduler)

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

Syntax

'Declaration
Public Shared Function Throw(Of TValue) ( _
    exception As Exception, _
    scheduler As IScheduler _
) As IObservable(Of TValue)
public static IObservable<TValue> Throw<TValue>(
    Exception exception,
    IScheduler scheduler
)
public:
generic<typename TValue>
static IObservable<TValue>^ Throw(
    Exception^ exception, 
    IScheduler^ scheduler
)
static member Throw : 
        exception:Exception * 
        scheduler:IScheduler -> IObservable<'TValue> 

Type Parameters

  • TValue

Parameters

Return Value

Type: System.IObservable<TValue>

Version Information

.NET for Windows Phone apps

Supported in: Windows Phone 8, Silverlight 8.1

.NET Framework Security

See Also

Reference

Observable Class

Throw Overload

Microsoft.Phone.Reactive Namespace