DocumentAlreadyCustomizedException Class
TOC
Collapse the table of content
Expand the table of content

DocumentAlreadyCustomizedException Class

 

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.

Namespace:   Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
      Microsoft.VisualStudio.Tools.Applications.Runtime.DocumentAlreadyCustomizedException

[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class DocumentAlreadyCustomizedException : RuntimeException

NameDescription
System_CAPS_pubmethodDocumentAlreadyCustomizedException()

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodDocumentAlreadyCustomizedException(Exception)

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodDocumentAlreadyCustomizedException(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubmethodDocumentAlreadyCustomizedException(String, Exception)

This API supports the product infrastructure and is not intended to be used directly from your code.

NameDescription
System_CAPS_pubpropertyData

(Inherited from Exception.)

System_CAPS_pubpropertyHelpLink

(Inherited from Exception.)

System_CAPS_pubpropertyHResult

(Inherited from Exception.)

System_CAPS_pubpropertyInnerException

(Inherited from Exception.)

System_CAPS_pubpropertyMessage

(Inherited from Exception.)

System_CAPS_pubpropertySource

(Inherited from Exception.)

System_CAPS_pubpropertyStackTrace

(Inherited from Exception.)

System_CAPS_pubpropertyTargetSite

(Inherited from Exception.)

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetBaseException()

(Inherited from Exception.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetObjectData(SerializationInfo, StreamingContext)

(Inherited from Exception.)

System_CAPS_pubmethodGetType()

(Inherited from Exception.)

System_CAPS_pubmethodToString()

(Inherited from Exception.)

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft