Method ThrowIfDisposed
ThrowIfDisposed()
Throws and System.ObjectDisposedException if the IsDisposed property is true.
Declaration
protected virtual void ThrowIfDisposed()
Exceptions
Type | Condition |
---|---|
System.ObjectDisposedException | Thrown if the IsDisposed property is true. |