When would you use an event receiver?

When would you use an event receiver?

What is an Event Receiver?

- It is a piece of managed code that responds to SharePoint events when specific triggering actions occur on a SharePoint object.

- They are easier to use and they have more event types.

When would you use an event receiver?

- Event receivers respond to events, thus used for something as canceling an action, e.g. deleting a document library by using the Cancel property.

- This would prevent users from deleting any documents if you wanted to maintain the data.

- If you want to add behaviors to the operations that happen in SharePoint, you can use event receivers to trigger your custom code whenever a certain operation takes place.
Asynchronous and synchronous event receivers
Asynchronous and synchronous event receivers.....
Synchronous and Asynchronous events
Synchronous event are the ones in which the caller needs to pause to wait for a response. The fact that it waits for a response means that the call is a “blocking” call to the event handler.......
30 Cloud Computing Interview Questions and Answers
Cloud Computing interview questions and answers for freshers and experienced - List of Cloud Computing questions with answers that might be asked during an interview - How does cloud computing provides on-demand functionality?, 2. What is the difference between scalability and elasticity?, What are the different layers of cloud computing?.....
Post your comment