DocumentClosedException Class

Definition

The exception that is thrown when you attempt to perform an operation using the ServerDocument class on a closed document.

public ref class DocumentClosedException sealed : Microsoft::VisualStudio::Tools::Applications::Runtime::RuntimeException
[System.Serializable]
public sealed class DocumentClosedException : Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
[<System.Serializable>]
type DocumentClosedException = class
    inherit RuntimeException
Public NotInheritable Class DocumentClosedException
Inherits RuntimeException
Inheritance
DocumentClosedException
Attributes

Remarks

For example, this exception is thrown if you call the Save method of a ServerDocument object after the document has been closed.

Constructors

DocumentClosedException()
DocumentClosedException(String)
DocumentClosedException(String, Exception)

Applies to