Observable.Throw<TValue> Method (Exception)
Namespace: Microsoft.Phone.Reactive
Assembly: Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)
Syntax
'Declaration
Public Shared Function Throw(Of TValue) ( _
exception As Exception _
) As IObservable(Of TValue)
public static IObservable<TValue> Throw<TValue>(
Exception exception
)
public:
generic<typename TValue>
static IObservable<TValue>^ Throw(
Exception^ exception
)
static member Throw :
exception:Exception -> IObservable<'TValue>
Type Parameters
- TValue
Parameters
- exception
Type: System.Exception
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.