Skip to content

AsyncSubject.OnCompleted() method

Defined in

Type: AsyncSubject Namespace: System.Reactive.Subjects Assembly: System.Reactive.dll

Applies to

net8.0, net8.0-windows10.0.19041, netstandard2.0

Overloads

  1. public override void OnCompleted()

  2. public void OnCompleted(Action continuation)

1. Overload

public override void OnCompleted()

Inherited documentation

These docs were inherited from SubjectBase<T>. The member doesn't override them on this type.

Summary: Notifies the observer that the provider has finished sending push-based notifications.

2. Overload

public void OnCompleted(Action continuation)

Inherited documentation

These docs were inherited from INotifyCompletion. The member doesn't override them on this type.

Summary: Schedules the continuation action that's invoked when the instance completes.

Parameters

NameTypeDescription
continuationActionThe action to invoke when the operation completes.

Exceptions

TypeCondition
System.ArgumentNullExceptionThe continuation argument is null (Nothing in Visual Basic).