C# Class ChainStoreWeb.Services.RemoteEventReceiver1

Inheritance: IRemoteEventService
Show file Open project: OfficeDev/SharePoint_Provider-hosted_Add-ins_Tutorials

Public Methods

Method Description
ProcessEvent ( SPRemoteEventProperties properties ) : SPRemoteEventResult

Handles events that occur before an action occurs, such as when a user is adding or deleting a list item.

ProcessOneWayEvent ( SPRemoteEventProperties properties ) : void

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.

Private Methods

Method Description
RecordInventoryUpdateLocally ( SPRemoteEventProperties properties ) : void
TryUpdateInventory ( SPRemoteEventProperties properties ) : bool

Method Details

ProcessEvent() public method

Handles events that occur before an action occurs, such as when a user is adding or deleting a list item.
public ProcessEvent ( SPRemoteEventProperties properties ) : SPRemoteEventResult
properties SPRemoteEventProperties Holds information about the remote event.
return SPRemoteEventResult

ProcessOneWayEvent() public method

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.
public ProcessOneWayEvent ( SPRemoteEventProperties properties ) : void
properties SPRemoteEventProperties Holds information about the remote event.
return void