DocumentCustomizedWithPreviousRuntimeException Class
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.
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::DocumentCustomizedWithPreviousRuntimeException
| Name | Description | |
|---|---|---|
![]() | DocumentCustomizedWithPreviousRuntimeException() | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | DocumentCustomizedWithPreviousRuntimeException(Exception^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | DocumentCustomizedWithPreviousRuntimeException(String^) | This API supports the product infrastructure and is not intended to be used directly from your code. |
![]() | DocumentCustomizedWithPreviousRuntimeException(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.) |
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.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

