DocumentClosedException Class
The exception that is thrown when you attempt to perform an operation using the ServerDocument class on a closed document.
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)
System::Exception
Microsoft.VisualStudio.Tools.Applications.Runtime::RuntimeException
Microsoft.VisualStudio.Tools.Applications.Runtime::DocumentClosedException
| Name | Description | |
|---|---|---|
![]() | DocumentClosedException() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | DocumentClosedException(String^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | DocumentClosedException(String^, Exception^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | GetBaseException() | (Inherited from Exception.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetObjectData(SerializationInfo^, StreamingContext) | (Inherited from Exception.) |
![]() | GetType() | (Inherited from Exception.) |
![]() | ToString() | (Inherited from Exception.) |
For example, this exception is thrown if you call the Save method of a ServerDocument object after the document has been closed.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

