SPWebEventReceiver class
提供的補漏白發生事件的 Web 站台的方法。這個類別無法執行個體化。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.SPEventReceiverBase
Microsoft.SharePoint.SPWebEventReceiver
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Class SPWebEventReceiver _
Inherits SPEventReceiverBase
'用途
Dim instance As SPWebEventReceiver
public class SPWebEventReceiver : SPEventReceiverBase
備註
SPWebEventReceiver類別無法執行個體化,但自訂的事件處理常式的 Web 站台事件接收器類別必須衍生自這個類別並覆寫處理的事件型別及其方法。
這個類別會提供登錄及設陷 Web 站台的一般事件的方法。
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.