SPFeatureReceiver class

Defines methods that are called when a Feature is installed, uninstalled, activated, deactivated, or upgraded.

Inheritance hierarchy


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


Public MustInherit Class SPFeatureReceiver
Dim instance As SPFeatureReceiver
public abstract class SPFeatureReceiver


It is not possible to cancel an installation or uninstallation through Feature events.

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


SPFeatureReceiver members

Microsoft.SharePoint namespace