Share via


Troubleshooting Exceptions: System.ObjectDisposedException 

An ObjectDisposedException exception is thrown when an operation is attempted on a disposed object, such as a closed stream or registry key.

Associated Tips

  • Make sure you have not released a resource before attempting to use it.
    For example, if attempting to manipulate a stream, make sure it has not been previously closed.

See Also

Tasks

How to: Find Out More About an Exception with the Exception Assistant

Reference

ObjectDisposedException