Disposable.AssertDisposed Method

OpenPop.NET

OpenPop.NET POP3 Library Documentation

Disposable.AssertDisposed Method

Used to assert that the object has not been disposed

protected void AssertDisposed();

Remarks

The method is to be used by the subclasses in order to provide a simple method for checking the disposal state of the object.

Exceptions

Exception Type Condition
ObjectDisposedException Thrown if the object is in a disposed state.

See Also

Disposable Class | OpenPop.Pop3 Namespace