Share via


Observable.Throw<TValue>, méthode (Exception)

Espace de noms :  Microsoft.Phone.Reactive
Assembly :  Microsoft.Phone.Reactive (dans Microsoft.Phone.Reactive.dll)

Syntaxe

'Déclaration
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> 

Paramètres de type

  • TValue

Paramètres

Valeur de retour

Type : System.IObservable<TValue>

Informations de version

.NET pour les applications Windows Phone

Pris en charge dans : Windows Phone 8, Silverlight 8.1

Sécurité .NET Framework

Voir aussi

Référence

Observable Classe

Throw, surcharge

Microsoft.Phone.Reactive, espace de noms