Disposables.Add method

Adds the specified disposable.

public void Add(IDisposable? disposable)
parameter description
disposable The disposable.

Exceptions

exception condition
ObjectDisposedException Illegal to add after Dispose.

See Also