Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.