ChatterBox.Client.Common.Notifications.ToastNotificationService.ShowNotification C# (CSharp) Method

ShowNotification() private static method

private static ShowNotification ( XmlDocument toastXml ) : void
toastXml Windows.Data.Xml.Dom.XmlDocument
return void
        private static void ShowNotification(XmlDocument toastXml)
        {
            try
            {
                ToastNotificationManager.CreateToastNotifier("ChatterBoxClientAppId")
                     .Show(new ToastNotification(toastXml));
            }
            catch (System.Exception)
            {
                // Most likely an exception occurs here when the win8 client is used together with 
                // a win10 one on same machine. A thrown exception will prevent some UI components
                // to be updated.
            }
        }