public static BadgeGlyphNotificationContent GenerateAlertBadge() { var b = new BadgeGlyphNotificationContent(GlyphValue.Alert); return b; }
public static void CreateBadge(BadgeGlyphNotificationContent badge) { BadgeNotification b = new BadgeNotification(badge.GetXml()); BadgeUpdateManager.CreateBadgeUpdaterForApplication().Update(b); }