SPFeatureReceiver class
定義當一項功能是安裝、 解除安裝、 啟動、 停用,或升級時所呼叫的方法。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.SPFeatureReceiver
Microsoft.SharePoint.SPMDSFeatureReceiver
Microsoft.SharePoint.SPSiteAssetsFeatureReceiver
Microsoft.SharePoint.SPSiteNotebookFeatureReceiver
Microsoft.SharePoint.SPWikiPageHomePageFeatureReceiver
Microsoft.SharePoint.SPWikiWelcomeFeatureReceiver
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public MustInherit Class SPFeatureReceiver
'用途
Dim instance As SPFeatureReceiver
public abstract class SPFeatureReceiver
備註
您不可能取消安裝或解除安裝功能的事件。
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.