Пример #1
0
        public static void WriteErrorRecord(Exception ex, string username, ConnectionManager ConnManager)
        {
            ErrorActionItem err = new ErrorActionItem(ex, username, ConnManager);

            err.CreateActionItemRunErrorRecord();
        }
Пример #2
0
        public static void WriteErrorRecord(string errorMessage, string stackTrace, string username, ConnectionManager ConnManager)
        {
            ErrorActionItem err = new ErrorActionItem(errorMessage, stackTrace, username, ConnManager);

            err.CreateActionItemRunErrorRecord();
        }
Пример #3
0
        // * this class is used exclusively throughout the project code whenever errors occur, and its function is to create an erroractionitem
        //      and store the error info to the database.
        // * ConnectionManager contains code that establishes and manages connections to the relevant database and reporting servers.

        public static void WriteErrorRecord(Exception ex, ActionItem ai, ConnectionManager ConnManager)
        {
            ErrorActionItem err = new ErrorActionItem(ex, ai, ConnManager);

            err.CreateActionItemRunErrorRecord();
        }