RefCountDisposable.GetDisposable() method¶
Defined in
Type: RefCountDisposable
Namespace: System.Reactive.Disposables
Assembly: System.Reactive.dll
Applies to
netstandard2.0
public IDisposable GetDisposable()
Summary: Returns a dependent disposable that when disposed decreases the refcount on the underlying disposable.
Returns: IDisposable -- A dependent disposable contributing to the reference count that manages the underlying disposable's lifetime.
Exceptions
| Type | Condition |
|---|---|
| System.ObjectDisposedException | This instance has been disposed and is configured to throw in this case by [#ctor](# |