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.Demand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class PackageFormatException _
Inherits Exception
'Usage
Dim instance As PackageFormatException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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.