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<DayOfWeek>, IEnumerable<ApproximateTime>)

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

Properties

DaysOfWeek

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

ParseXml(XPathNavigator)

Populates the data from the specified XML.

ToString()

Gets a string representation of the alert.

WriteXml(String, XmlWriter)

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