Alert Class

Definition

Represents a weekly alert schedule.

public class Alert : Microsoft.Health.ItemTypes.HealthRecordItemData
Inheritance

Constructors

Alert()

Creates a new instance of the Alert class with default values.

Alert(​IEnumerable<​Day​Of​Week>, ​IEnumerable<​Approximate​Time>)

Creates a new instance of the Alert class with the specified days and times.

Properties

Days​Of​Week

Gets a collection of the days of the week which the alert applies to.

Times

Gets a collection of the times in each of the specified days to be alerted.

Methods

Parse​Xml(​XPath​Navigator)

Populates the data from the specified XML.

To​String()

Gets a string representation of the alert.

Write​Xml(​String, ​Xml​Writer)

Writes the XML representation of the alert into the specified XML writer.