Partager via


Observer.Create<T>, méthode (Action<T>, Action<Exception>, Action)

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

Syntaxe

'Déclaration
Public Shared Function Create(Of T) ( _
    onNext As Action(Of T), _
    onError As Action(Of Exception), _
    onCompleted As Action _
) As IObserver(Of T)
public static IObserver<T> Create<T>(
    Action<T> onNext,
    Action<Exception> onError,
    Action onCompleted
)
public:
generic<typename T>
static IObserver<T>^ Create(
    Action<T>^ onNext, 
    Action<Exception^>^ onError, 
    Action^ onCompleted
)
static member Create : 
        onNext:Action<'T> * 
        onError:Action<Exception> * 
        onCompleted:Action -> IObserver<'T> 

Paramètres de type

  • T

Paramètres

Valeur de retour

Type : System.IObserver<T>

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

Observer Classe

Create, surcharge

Microsoft.Phone.Reactive, espace de noms