OfficeXpsDocumentException Class (2007 System)

The exception that is thrown when the Visual Studio Tools for Office runtime cannot perform an operation on a Microsoft Office Open XML Formats document because the format of the document is invalid.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.VisualStudio.Tools.Office.AppInfoDocument.v9.0 (in Microsoft.VisualStudio.Tools.Office.AppInfoDocument.v9.0.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class OfficeXpsDocumentException _
    Inherits RuntimeException
'Usage
Dim instance As OfficeXpsDocumentException
[SerializableAttribute]
public sealed class OfficeXpsDocumentException : RuntimeException
[SerializableAttribute]
public ref class OfficeXpsDocumentException sealed : public RuntimeException
public final class OfficeXpsDocumentException extends RuntimeException

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.VisualStudio.Tools.Applications.Runtime.RuntimeException
      Microsoft.Office.Tools.OfficeXpsDocumentException

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

OfficeXpsDocumentException Members

Microsoft.Office.Tools Namespace