Partilhar via


SPFeatureDependencyNotActivatedException Class

Represents an exception that is thrown when activating or upgrading a feature that has a dependency on a visible feature that is not activated.

Inheritance Hierarchy

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

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

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

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

SPFeatureDependencyNotActivatedException Members

Microsoft.SharePoint Namespace