Share via


SPUpgradeException class

Represents an upgrade exception.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Upgrade.SPUpgradeException
      Microsoft.SharePoint.Upgrade.SPUpgradeCompatibilityException
      Microsoft.SharePoint.Upgrade.SPUpgradeLockException

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

Syntax

'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPUpgradeException _
    Inherits Exception
'Usage
Dim instance As SPUpgradeException
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPUpgradeException : Exception

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

SPUpgradeException members

Microsoft.SharePoint.Upgrade namespace