Share via


UnknownCustomizationFileException Class (2007 System)

The exception that is thrown when you pass a file with an extension that is not supported by Visual Studio Tools for Office to a ServerDocument constructor or method.

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 UnknownCustomizationFileException _
    Inherits RuntimeException
'Usage
Dim instance As UnknownCustomizationFileException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public sealed class UnknownCustomizationFileException : RuntimeException
[SerializableAttribute]
[PermissionSetAttribute(SecurityAction::Demand, Name = L"FullTrust")]
public ref class UnknownCustomizationFileException sealed : public RuntimeException
public final class UnknownCustomizationFileException extends RuntimeException

Remarks

For information about the file formats supported by document-level customizations in Visual Studio Tools for Office, see Architecture of Document-Level Customizations.

Inheritance Hierarchy

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

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.

See Also

Reference

UnknownCustomizationFileException Members

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace

Other Resources

Architecture of Document-Level Customizations