SPException 类
表示Microsoft SharePoint Foundation中的异常。
继承层次结构
System.Object
System.Exception
System.ApplicationException
Microsoft.SharePoint.SPException
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<SerializableAttribute> _
Public Class SPException _
Inherits ApplicationException
用法
Dim instance As SPException
[SerializableAttribute]
public class SPException : ApplicationException
备注
SPException类通常用于指示在SharePoint Foundation中要求的冲突。例如,尝试删除网站模板库中,可以创建异常。
线程安全性
该类型的任何公共 静态 (已共享 在 Visual Basic 中) 成员都是线程安全的。不保证任何实例成员都是线程安全的。
另请参阅
引用
继承层次结构
System.Object
System.Exception
System.ApplicationException
Microsoft.SharePoint.SPException
Microsoft.SharePoint.AppPackageSizeExceededException
Microsoft.SharePoint.AppPackageValidationException
Microsoft.SharePoint.SPContentTypeReadOnlyException
Microsoft.SharePoint.SPContentTypeSealedException
Microsoft.SharePoint.SPDistributionGroupException
Microsoft.SharePoint.SPDuplicateValuesFoundException
Microsoft.SharePoint.SPEndpointAddressNotFoundException
Microsoft.SharePoint.SPExternalApplicationRegistrationException
Microsoft.SharePoint.SPFeatureDefinitionMissingException
Microsoft.SharePoint.SPFeatureDependencyNotActivatedException
Microsoft.SharePoint.SPFeatureIsOrphanedException
Microsoft.SharePoint.SPFeatureUpgradeFatalErrorException
Microsoft.SharePoint.SPFeatureUpgradeInformativeWarningException
Microsoft.SharePoint.SPFieldValidationException
Microsoft.SharePoint.SPFieldValueException
Microsoft.SharePoint.SPFileCheckOutException
Microsoft.SharePoint.SPFileLockException
Microsoft.SharePoint.SPInvalidLookupValuesException
Microsoft.SharePoint.SPInvalidPropertyException
Microsoft.SharePoint.SPListDataValidationException
Microsoft.SharePoint.SPQueryThrottledException
Microsoft.SharePoint.SPResourceBudgetExceededException