MOSS EventsReceivers

Event Receivers

Event Receivers are triggered by certain events on either a SPWeb, SPList or SPListItem. Event Receivers can be attached by either using feature elements definitions or by using the object model (using Feature Receivers). The event handler method that are attached are defined in a separate class Event Receiver class that implements either SPWebEventReceiver, SPListEventReceiver, SPItemEventReceiver or SPEmailEventReceiver.

SPWebEventReceiver

Before
  • SiteDeleting
  • WebDeleting
  • WebMoving
After
  • SiteDeleted
  • WebDeleted
  • WebMoved

SPListEventReceiver

Before
  • FieldAdding
  • FieldUpdating
  • FieldDeleting
After
  • FieldAdded
  • FieldUpdated
  • FieldDeleted

SPItemEventReceiver

Before
  • ItemAdding
  • ItemUpdating
  • ItemDeleting
After
  • ItemAdded
  • ItemUpdated
  • ItemDeleted
  • ItemAttachmentAdded
  • ItemAttachmentDeleted
  • ItemCheckedIn
  • ItemCheckedOut
  • ItemFileConverted
  • ItemFileMoved
  • ItemUncheckedOut

SPEmailEventReceiver

After
  • EmailReceived
A bejegyzés kategóriája: Nincs kategorizálva
Kiemelt szavak: , .
Közvetlen link.

MOSS EventsReceivers bejegyzéshez 1 hozzászólás

  1. Döme hozzászólása:

    Event Receiver Feature activation failed with SQL insert error
    This gave me a good headache !

    Do you see anything wrong here in this Elements.xml…
    view plaincopy to clipboardprint?




    ExampleAItemAdding
    ItemAdding
    10000
    DemoA.EventHandlers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b7e66595434a588
    DemoA.EventHandlers.ExampleA