Beispiel #1
0
 private static void WriteOperationAbortException(StringBuilder sb, OperationAbortException exception)
 {
     sb.AppendFormat("OperationAborted, reason: {0}, Message: {1} \r\n", exception.ReasonCode, exception.Message);
     if (exception.Data.Count > 0)
     {
         WriteExceptionData(sb, exception);
     }
     if (exception.InnerException != null)
     {
         WriteInnerException(sb, exception.InnerException);
     }
 }
Beispiel #2
0
 private static void WriteOperationAbortException(StringBuilder sb, OperationAbortException exception)
 {
     sb.AppendFormat("OperationAborted, reason: {0}, Message: {1} \r\n", exception.ReasonCode, exception.Message);
       if (exception.Data.Count > 0)
     WriteExceptionData(sb, exception);
       if (exception.InnerException != null)
     WriteInnerException(sb, exception.InnerException);
 }