Skip to content

ContextDisposable class

Defined in

Namespace: System.Reactive.Disposables Assembly: System.Reactive.dll Full name: System.Reactive.Disposables.ContextDisposable Modifiers: public sealed

Summary

Represents a disposable resource whose disposal invocation will be posted to the specified SynchronizationContext.

Applies to

netstandard2.0

Class hierarchy
classDiagram
class ContextDisposable
class ICancelable {
    <>
}
ICancelable <|.. ContextDisposable
class IDisposable {
    <>
}
IDisposable <|.. ContextDisposable

Implements: ICancelable, IDisposable

Constructors

NameSummary
.ctorInitializes a new instance of the [ContextDisposable](# class that uses the specified...

Properties

NameSummary
ContextGets the provided SynchronizationContext.
IsDisposedGets a value that indicates whether the object is disposed.

Methods

NameSummary
DisposeDisposes the underlying disposable on the provided SynchronizationContext.
Inherited members