Compartilhar via


Método 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 MustOverride Function Accept(Of TResult) ( _
    onNext As Func(Of T, TResult), _
    onError As Func(Of Exception, TResult), _
    onCompleted As Func(Of TResult) _
) As TResult
public abstract 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
) abstract
abstract 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> Classe

Sobrecargas Accept

Namespace Microsoft.Phone.Reactive