Beispiel #1
0
        /// <summary>
        /// Cancels all pending scheduled notification messages.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void OnClickCancelScheduledNotifications(object sender, System.EventArgs e)
        {
            string Tag = "CancelScheduledNotifications";

            try
            {
                NotificationController.CancelScheduledNotifications(this);

                log.Info(Tag, "Success");
            }
            catch (ApiException exception)
            {
                log.Error(Tag, "Error/Exception: " + exception);
            }
        }
 public void CancelScheduledNotifications()
 {
     NotificationController.CancelScheduledNotifications(Application.Context);
 }