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
- exception
Type: System.Exception
- scheduler
Type: Microsoft.Phone.Reactive.IScheduler
Return Value
Type: System.IObservable<TValue>
Version Information
.NET for Windows Phone apps
Supported in: Windows Phone 8, Silverlight 8.1
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.