DocumentAlreadyCustomizedException 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 attach a customization to a document that is already part of a document-level customization that was created by using Office development tools in Visual Studio.
public ref class DocumentAlreadyCustomizedException sealed : Microsoft::VisualStudio::Tools::Applications::Runtime::RuntimeException
[System.Serializable]
public sealed class DocumentAlreadyCustomizedException : Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
[<System.Serializable>]
type DocumentAlreadyCustomizedException = class
inherit RuntimeException
Public NotInheritable Class DocumentAlreadyCustomizedException
Inherits RuntimeException
- Inheritance
- Attributes
Remarks
This exception is thrown if you try to use the AddCustomization method of the ServerDocument class to attach a customization to a document that already has a customization associated with it.
Constructors
DocumentAlreadyCustomizedException() | |
DocumentAlreadyCustomizedException(Exception) | |
DocumentAlreadyCustomizedException(String, Exception) | |
DocumentAlreadyCustomizedException(String) |