You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of running a training exercise. You are discussing the
ProcessOneWayEvent method of the TaxonomySession object.
Which of the following best describes this method?
A.
It is an asynchronous event that handles events that occur after an action occurs
B.
It is an synchronous event that handles events that occur after an action occurs
C.
It is an synchronous event that handles events that occur before an action occurs
D.
It is an asynchronous event that handles events that occur before an action occurs
Explanation:
The actual answer is A:
1. ProcessEvent(): This is a synchronous event that handles events that occur before an action occurs. Such as when a user adds or deletes a list item. Two way event that can handle current events (“-ing”) that can callback to SharePoint.
2. ProcessOneWayEvent(): This is a asynchronous event that handles events that occur after an action occurs. Such as after a user adds an item to a list or deletes an item from a list. This is one-way event that can handle past events (“-ed”).
http://blogs.technet.com/b/sharepointdevelopersupport/archive/2013/03/13/how-to-create-a-remote-event-receiver-for-a-sharepoint-hosted-app.aspx