Compartilhar via


Método Observer.Create<T> (Action<T>, Action<Exception>, Action)

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

Sintaxe

'Declaração
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> 

Parâmetros de tipo

  • T

Parâmetros

Valor de retorno

Tipo: System.IObserver<T>

Informações sobre versão

.NET para aplicativos do Windows Phone

Com suporte em: Windows Phone 8, Silverlight 8.1

Segurança do .NET Framework

Consulte também

Referência

Observer Classe

Sobrecargas Create

Namespace Microsoft.Phone.Reactive