Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The exception that is thrown when you attempt to use the ServerDocument class to perform an operation on a document that is part of a document-level customization that was created by using an earlier version of Visual Studio Tools for Office.
Namespace: Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly: Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)
Syntax
'Declaration
<SerializableAttribute> _
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public NotInheritable Class DocumentCustomizedWithPreviousRuntimeException _
Inherits RuntimeException
'Usage
Dim instance As DocumentCustomizedWithPreviousRuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class DocumentCustomizedWithPreviousRuntimeException : RuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class DocumentCustomizedWithPreviousRuntimeException sealed : public RuntimeException
public final class DocumentCustomizedWithPreviousRuntimeException extends RuntimeException
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 Visual Studio Tools for Office:
You attempt to create a ServerDocument object.
You try to use the AddCustomization method of the ServerDocument class.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentCustomizedWithPreviousRuntimeException
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.