public ProcessOneWayEvent ( SPRemoteEventProperties properties ) : void | ||
properties | SPRemoteEventProperties | Holds information about the remote event. |
return | void |
public void ProcessOneWayEvent(SPRemoteEventProperties properties)
{
switch (properties.EventType)
{
case SPRemoteEventType.ItemUpdated:
switch (properties.ItemEventProperties.ListTitle)
{
case "Expected Shipments":
bool updateComplete = TryUpdateInventory(properties);
if (updateComplete)
{
RecordInventoryUpdateLocally(properties);
}
break;
}
break;
}
}