NotificationHandler Class

A class to make processing event notifications simpler.

Namespace: Microsoft.Health.Events
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: (1.15.1003.9505)

public class NotificationHandler

To use this class, create an instance and then hook a delegate to the event the application is interested in. Then, call the ProcessNotificationXml(String) method and pass in the notication XML from the HealthVault service. The method will parse the XML, find the notifications in it, and fire the appropriate event.