Export (0) Print
Expand All

SubscriptionManager Class

HealthVault
The SubscriptionManager class is used to manage an application's eventing subscriptions.

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

'Declaration
Public Class SubscriptionManager

A subscription allows an application to receive a notification when a specific event happens on the HealthVault platform. For example, an application may wish to be notified when any BloodGlucose items are added to the records it is authorized to see. Subscriptions are described by the Subscription class and classes that are derived from it. The Subscription class itself contains the CommonSubscriptionData class, storing the notification channel (which defines how the information is communicated to the application) and a unique id for the subscription. The derived class denotes the type of event that the subscription describes (for example, the HealthRecordItemChangedSubscription class subscribes to item changes in a record) and any specific information that is required for the subscription.

System..::..Object
  Microsoft.Health.Events..::..SubscriptionManager
Show:
© 2015 Microsoft