internal static Exception ExceptionThrow(TraceEventType eventType, TraceMethod method, Exception e)
        {
            if (!ValidateSettings(Asmx, eventType))
            {
                return(e);
            }

            TraceEvent(eventType, Res.GetString(Res.TraceExceptionThrown, method.ToString(), e.GetType(), e.Message));
            StackTrace(eventType, e);

            return(e);
        }
Exemplo n.º 2
0
        internal static Exception ExceptionThrow(TraceEventType eventType, TraceMethod method, Exception e) {
            if (!ValidateSettings(Asmx, eventType))
                return e;

            TraceEvent(eventType, Res.GetString(Res.TraceExceptionThrown, method.ToString(), e.GetType(), e.Message));
            StackTrace(eventType, e);

            return e;
        }
 internal static Exception ExceptionThrow(TraceEventType eventType, TraceMethod method, Exception e)
 {
     if (ValidateSettings(Asmx, eventType))
     {
         TraceEvent(eventType, Res.GetString("TraceExceptionThrown", new object[] { method.ToString(), e.GetType(), e.Message }));
         StackTrace(eventType, e);
     }
     return e;
 }
Exemplo n.º 4
0
 internal static Exception ExceptionThrow(TraceEventType eventType, TraceMethod method, Exception e)
 {
     if (ValidateSettings(Asmx, eventType))
     {
         TraceEvent(eventType, Res.GetString("TraceExceptionThrown", new object[] { method.ToString(), e.GetType(), e.Message }));
         StackTrace(eventType, e);
     }
     return(e);
 }