SPException - Classe

Représente une exception dans Microsoft SharePoint Foundation.

Hiérarchie d’héritage

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

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class SPException _
    Inherits ApplicationException
'Utilisation
Dim instance As SPException
[SerializableAttribute]
public class SPException : ApplicationException

Remarques

La classe SPException est généralement utilisée pour indiquer une violation d'une exigence dans SharePoint Foundation. Par exemple, la tentative de suppression de la galerie de modèles de site crée une exception.

Cohérence de thread

Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.

Voir aussi

Référence

SPException - Membres

Microsoft.SharePoint - Espace de noms

Hiérarchie d’héritage

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