Compartilhar via


Método Notification<T>.OnNext.Accept<TResult> (Func<T, TResult>, Func<Exception, TResult>, Func<TResult>)

Este membro substitui Notification<T>.Accept<TResult>(Func<T, TResult>, Func<Exception, TResult>, Func<TResult>).

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

Sintaxe

'Declaração
Public Overrides Function Accept(Of TResult) ( _
    onNext As Func(Of T, TResult), _
    onError As Func(Of Exception, TResult), _
    onCompleted As Func(Of TResult) _
) As TResult
public override TResult Accept<TResult>(
    Func<T, TResult> onNext,
    Func<Exception, TResult> onError,
    Func<TResult> onCompleted
)
public:
generic<typename TResult>
virtual TResult Accept(
    Func<T, TResult>^ onNext, 
    Func<Exception^, TResult>^ onError, 
    Func<TResult>^ onCompleted
) override
abstract Accept : 
        onNext:Func<'T, 'TResult> * 
        onError:Func<Exception, 'TResult> * 
        onCompleted:Func<'TResult> -> 'TResult 
override Accept : 
        onNext:Func<'T, 'TResult> * 
        onError:Func<Exception, 'TResult> * 
        onCompleted:Func<'TResult> -> 'TResult 

Parâmetros de tipo

  • TResult

Parâmetros

Valor de retorno

Tipo: TResult

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

Notification<T>.OnNext Classe

Sobrecargas Accept

Namespace Microsoft.Phone.Reactive