示例#1
0
        public void TraceUnhandledException(Exception exception)
        {
            string             str;
            EtwDiagnosticTrace etwDiagnosticTrace = this.diagnosticTrace;

            if (exception != null)
            {
                str = exception.ToString();
            }
            else
            {
                str = string.Empty;
            }
            TraceCore.UnhandledException(etwDiagnosticTrace, str, exception);
        }
示例#2
0
 public void TraceUnhandledException(Exception exception)
 {
     TraceCore.UnhandledException(_diagnosticTrace, exception != null ? exception.ToString() : string.Empty, exception);
 }
示例#3
0
 public void TraceUnhandledException(Exception exception)
 {
     TraceCore.UnhandledException(Fx.Trace, exception);
 }