PackageFormatException class

Represents the error that is thrown when a structure-related problem is encountered during the import of a metadata XML file.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.BusinessData.Parser.PackageFormatException

Namespace:  Microsoft.SharePoint.BusinessData.Parser
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Class PackageFormatException _
    Inherits Exception
'Usage
Dim instance As PackageFormatException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public class PackageFormatException : Exception

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

PackageFormatException members

Microsoft.SharePoint.BusinessData.Parser namespace