DocumentAlreadyCustomizedException Class

Definition

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
DocumentAlreadyCustomizedException
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)

Applies to