DocumentCustomizedWithPreviousRuntimeException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The exception that is thrown when you attempt to use the ServerDocument class to perform an operation on a document-level customization that was created by using an earlier version of the Office development tools in Visual Studio.
public ref class DocumentCustomizedWithPreviousRuntimeException sealed : Microsoft::VisualStudio::Tools::Applications::Runtime::RuntimeException
[System.Serializable]
public sealed class DocumentCustomizedWithPreviousRuntimeException : Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
[<System.Serializable>]
type DocumentCustomizedWithPreviousRuntimeException = class
inherit RuntimeException
Public NotInheritable Class DocumentCustomizedWithPreviousRuntimeException
Inherits RuntimeException
- Inheritance
- Attributes
Remarks
This exception is thrown at the following times, when the target document is part of a document-level customization that was created by using an earlier version of the Office development tools in Visual Studio:
You attempt to create a ServerDocument object.
You try to use the AddCustomization method of the ServerDocument class.