コード例 #1
0
 public static string FormatError(Exception ex, string where)
 {
     return(string.Format("Error: {0}: {1} {2} at {3}.",
                          where,
                          ex.Message,
                          ex.GetExceptionMessages(),
                          ex.StackTrace));
 }