CancellationDisposable Class
Represents an IDisposable that can be checked for cancellation status.
Namespace: System.Reactive.Disposables
Assembly: System.Reactive (in System.Reactive.dll)
The CancellationDisposable type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | CancellationDisposable() | Initializes a new instance of the CancellationDisposable class that uses a new CancellationTokenSource. |
![]() | CancellationDisposable(CancellationTokenSource) | Initializes a new instance of the CancellationDisposable class that uses an existing CancellationTokenSource. |
| Name | Description | |
|---|---|---|
![]() | IsDisposed | Gets a value that indicates whether the object is disposed. |
![]() | Token | Gets the CancellationToken used by this CancellationDisposable. |
