public void NotifyItemAudited(AuditEventArgs args)
 {
     CallbackNotifyAuditItem = true;
 }
示例#2
0
        /// <summary>
        /// Event handler for the P5 email engine object.  This will forward the audit to the client type
        /// via the callback
        /// </summary>
        /// <param name="sender">unused</param>
        /// <param name="e"></param>
		private void OnAuditMail( AuditEventArgs e )
        {
            if (m_continue)
            {
                m_traceClient.NotifyItemAudited(e);
            }
        }
示例#3
0
        /// <summary>
        /// Event handler for the P5 email engine object.  This will forward the audit to the client type
        /// via the callback
        /// </summary>
        /// <param name="sender">unused</param>
        /// <param name="e"></param>
		private void OnAuditMail( object sender, AuditEventArgs e )
        {
            m_traceClient.NotifyItemAudited(e);
        }
示例#4
0
        public void NotifyItemAudited(AuditEventArgs args)
        {
            try
            {

                if (args != null)
                {
                    HandleAuditEvent(args);
                }
                else
                {
                    BaseView.CurrentScan.ItemsSkipped++;
                }
                Invoke(new ParameterlessDelegate(StepProgress));
                BaseView.CurrentScan.ItemsScanned++;
                UpdateSummaryResults();
            }
            catch (ObjectDisposedException)
            {
                // Ignore it as we are closing
            }
        }
示例#5
0
        private static void HandleAuditEvent(AuditEventArgs args)
        {
            System.Diagnostics.Trace.WriteLine("Audit Event Fired - " + DateTime.Now.ToUniversalTime(), "MainForm.HandleAuditEvent");

            Reports.MailMessage.Message msg = BaseView.CurrentScan.Messages.Add(args.Message);
            if (msg != null)
                UpdatePolicySummary(msg);
        }
示例#6
0
		public virtual void NotifyItemAudited(AuditEventArgs args)
		{
			
		}