Notification<T>.Accept Method (Action<T>, Action<Exception>, Action)

Invokes the delegate corresponding to the notification.

Namespace:  System.Reactive
Assembly:  System.Reactive (in System.Reactive.dll)

Syntax

'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
)

Parameters

  • onNext
    Type: System.Action<T>
    The delegate to invoke for an OnNext notification.
  • onCompleted
    Type: System.Action
    The delegate to invoke for an OnCompleted notification.

See Also

Reference

Notification<T> Class

Accept Overload

System.Reactive Namespace