共用方式為


SPWebEventReceiver Members

Include Protected Members
Include Inherited Members

Provides methods for trapping events that occur to Web sites. This class is never instantiated.

The SPWebEventReceiver type exposes the following members.

Constructors

  Name Description
Public method SPWebEventReceiver Initializes a new instance of the SPWebEventReceiver class.

Top

Properties

  Name Description
Protected property EventFiringDisabled Obsolete. Boolean property that announces whether event firing is currently enabled or disabled. (Inherited from SPEventReceiverBase.)
Protected property EventFiringEnabled Gets or sets a value that indicates whether event firing is enabled. (Inherited from SPEventReceiverBase.)

Top

Methods

  Name Description
Protected method DisableEventFiring Obsolete. Prevents events from being raised. (Inherited from SPEventReceiverBase.)
Protected method EnableEventFiring Obsolete. Enables events to be raised. (Inherited from SPEventReceiverBase.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method SiteDeleted Occurs after a site collection has been deleted.
Public method SiteDeleting Occurs when a site collection is being deleted.
Public method ToString (Inherited from Object.)
Public method WebAdding Synchronous Before event that occurs before a new subsite is created, but not when the root web site of a new site collection is created.
Public method WebDeleted Asynchronous After event that occurs after an existing Web site is completely deleted.
Public method WebDeleting Synchronous Before event that occurs before an existing Web site is completely deleted.
Public method WebMoved Asynchronous After event that occurs after an existing Web site has been moved.
Public method WebMoving Synchronous Before event that occurs before an existing Web site has been renamed or moved to a different parent object.
Public method WebProvisioned Synchronous After event that fires after a subsite is fully provisioned and the provisioning process has stopped, but does not fire when the root web site of a new site collection is created.

Top

See Also

Reference

SPWebEventReceiver Class

Microsoft.SharePoint Namespace