Exemplo n.º 1
0
        public static void ReportApplicationException(Exception exception)
        {
            ErrorTracker.Service oService = new Micajah.ErrorTrackerHelper2.ErrorTracker.Service();
            int       applicationID       = Convert.ToInt32(ConfigurationManager.AppSettings["ApplicationID"]);
            ErrorInfo errorInfo           = ConvertToErrorInfo(exception, applicationID);

            oService.AddError(errorInfo);
        }