PackageFormatException 类 (Microsoft.Office.Server.ApplicationRegistry.Administration)

This exception is thrown if there is an error in the XML of the package.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Administration
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

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

继承层次结构

System.Object
   System.Exception
    Microsoft.Office.Server.ApplicationRegistry.Administration.PackageFormatException

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

PackageFormatException 成员
Microsoft.Office.Server.ApplicationRegistry.Administration 命名空间