ReplaySubject<T>.OnError Method

Notifies all subscribed observers with the exception.

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

Syntax

'Declaration
Public Sub OnError ( _
    error As Exception _
)
'Usage
Dim instance As ReplaySubject
Dim error As Exception

instance.OnError(error)
public void OnError(
    Exception error
)
public:
virtual void OnError(
    Exception^ error
) sealed
abstract OnError : 
        error:Exception -> unit 
override OnError : 
        error:Exception -> unit 
public final function OnError(
    error : Exception
)

Parameters

  • error
    Type: System.Exception
    The exception to send to all subscribed observers.

Implements

IObserver<T>.OnError(Exception)

See Also

Reference

ReplaySubject<T> Class

System.Reactive.Subjects Namespace