Share via


Clase SPException

Representa una excepción en Microsoft SharePoint Foundation.

Jerarquía de la herencia

System.Object
  System.Exception
    System.ApplicationException
      Microsoft.SharePoint.SPException
        

Espacio de nombres:  Microsoft.SharePoint
Ensamblado:  Microsoft.SharePoint (en Microsoft.SharePoint.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public Class SPException _
    Inherits ApplicationException
'Uso
Dim instance As SPException
[SerializableAttribute]
public class SPException : ApplicationException

Comentarios

Por lo general, la clase SPException se usa para indicar una infracción de un requisito en SharePoint Foundation. Por ejemplo, crea una excepción si se intenta eliminar la Galería de plantillas de sitio.

Seguridad para subprocesos

Los miembros static (Shared en Visual Basic) públicos de este tipo son seguros para subprocesos. No se garantiza que los miembros de instancias sean seguros para los subprocesos.

Vea también

Referencia

Miembros SPException

Espacio de nombres Microsoft.SharePoint

Jerarquía de la herencia

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