一個文件庫使用多個 EventHandler

一個文件庫使用多個 EventHandler

Take the first document library event handler, inherit from the second.  Add your code to do what ever you need to.  Call your base class.

E.g:

public class MyHandler : SecondHandler, IListEventSink
{

   .
   .
   .

   public void OnEvent(SPListEvent event)
   {

      base.OnEvent(event);

   }
}