SPException-Klasse

Stellt eine Ausnahme in Microsoft SharePoint Foundation.

Vererbungshierarchie

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class SPException _
    Inherits ApplicationException
'Usage
Dim instance As SPException
[SerializableAttribute]
public class SPException : ApplicationException

Hinweise

Die SPException -Klasse wird normalerweise verwendet, um eine Verletzung einer Anforderung in SharePoint Foundationanzugeben. Versuchen, den Websitevorlagenkatalog löschen wird beispielsweise eine Ausnahme erstellt.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Die Threadsicherheit von Instanzmembern ist nicht gewährleistet.

Siehe auch

Referenz

SPException-Member

Microsoft.SharePoint-Namespace

Vererbungshierarchie

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