||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer
Windows SharePoint Services 3
Base abstract class that can be overridden to trap the activation, deactivation, installation, or uninstallation of a Feature.
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public abstract class SPFeatureReceiver
Use the SPFeatureReceiver class to trap events that are raised after the Feature installation, uninstallation, activation, or deactivation action has been performed.
It is not possible to cancel an installation or uninstallation through Feature events.
Any public static
in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.