Share via


Subject<T>.OnCompleted Method

Notifies all subscribed observers of the end of the sequence.

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

Syntax

'Declaration
Public Sub OnCompleted
'Usage
Dim instance As Subject

instance.OnCompleted()
public void OnCompleted()
public:
virtual void OnCompleted() sealed
abstract OnCompleted : unit -> unit 
override OnCompleted : unit -> unit 
public final function OnCompleted()

Implements

IObserver<T>.OnCompleted()

See Also

Reference

Subject<T> Class

System.Reactive.Subjects Namespace