Skip to content

System.Reactive.Disposables namespace

Part of the System.Reactive package.

TypeKindSummary
BooleanDisposableclassRepresents a disposable resource that can be checked for disposal status.
CancellationDisposableclassRepresents a disposable resource that has an associated CancellationToken that will be set to the cancellation requested state upon disposal.
CompositeDisposableclassRepresents a group of disposable resources that are disposed together.
ContextDisposableclassRepresents a disposable resource whose disposal invocation will be posted to the specified SynchronizationContext.
DisposableclassProvides a set of static methods for creating IDisposable objects.
ICancelableinterfaceDisposable resource with disposal state tracking.
MultipleAssignmentDisposableclassRepresents a disposable resource whose underlying disposable resource can be swapped for another disposable resource.
RefCountDisposableclassRepresents a disposable resource that only disposes its underlying disposable resource when all [GetDisposable](# have been disposed.
ScheduledDisposableclassRepresents a disposable resource whose disposal invocation will be scheduled on the specified [IScheduler](#
SerialDisposableclassRepresents a disposable resource whose underlying disposable resource can be replaced by another disposable resource, causing automatic disposal of the previous underlying disposable resource.
SingleAssignmentDisposableclassRepresents a disposable resource which only allows a single assignment of its underlying disposable resource. If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an InvalidOperationException.
SingleAssignmentDisposableValuestructRepresents a disposable resource which only allows a single assignment of its underlying disposable resource. If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an InvalidOperationException.
StableCompositeDisposableclassRepresents a group of disposable resources that are disposed together.