コード例 #1
0
        /// <summary>
        /// Unhandled exceptions processing
        /// </summary>
        private static void CurrentDomainUnhandledException(Object sender, UnhandledExceptionEventArgs e)
        {
            Exception ex = (Exception)e.ExceptionObject;

            //ServiceLogger.Instance.StoreDataMarkup = true;
            ServiceLogger.Critical("Application raised the unhandled exception: " + ex.Message, ex);
            //ServiceLogger.Instance.StoreDataMarkup = false;
        }