ExtractStringFromExceptionInternal() private method

private ExtractStringFromExceptionInternal ( object exceptiono, string &message, string &stackTrace ) : void
exceptiono object
message string
stackTrace string
return void
Esempio n. 1
0
        public static string ExtractStringFromException(object exception)
        {
            string empty  = string.Empty;
            string empty2 = string.Empty;

            StackTraceUtility.ExtractStringFromExceptionInternal(exception, out empty, out empty2);
            return(empty + "\n" + empty2);
        }
Esempio n. 2
0
        public static string ExtractStringFromException(object exception)
        {
            string str  = "";
            string str2 = "";

            StackTraceUtility.ExtractStringFromExceptionInternal(exception, out str, out str2);
            return(str + "\n" + str2);
        }
Esempio n. 3
0
        public static string ExtractStringFromException(object exception)
        {
            string message    = string.Empty;
            string stackTrace = string.Empty;

            StackTraceUtility.ExtractStringFromExceptionInternal(exception, out message, out stackTrace);
            return(message + "\n" + stackTrace);
        }