Notificação<T>. Método Accept (Ação<T>, Exceção> de Ação<, Ação)
Invoca o delegado correspondente à notificação.
Namespace:System.Reactive
Assembly: System.Reactive (em System.Reactive.dll)
Sintaxe
'Declaration
Public MustOverride Sub Accept ( _
onNext As Action(Of T), _
onError As Action(Of Exception), _
onCompleted As Action _
)
'Usage
Dim instance As Notification
Dim onNext As Action(Of T)
Dim onError As Action(Of Exception)
Dim onCompleted As Action
instance.Accept(onNext, onError, onCompleted)
public abstract void Accept(
Action<T> onNext,
Action<Exception> onError,
Action onCompleted
)
public:
virtual void Accept(
Action<T>^ onNext,
Action<Exception^>^ onError,
Action^ onCompleted
) abstract
abstract Accept :
onNext:Action<'T> *
onError:Action<Exception> *
onCompleted:Action -> unit
public abstract function Accept(
onNext : Action<T>,
onError : Action<Exception>,
onCompleted : Action
)
Parâmetros
- Onnext
Tipo: System.Action<T>
O delegado a ser invocado para uma notificação OnNext.
- Onerror
Tipo: Exceção System.Action<>
O delegado a ser invocado para uma notificação OnError.
- Oncompleted
Tipo: System.Action
O delegado a ser invocado para uma notificação OnCompleted.