internal static OperationAbortedException Aborted(Exception inner) { OperationAbortedException e; if (inner == null) { e = new OperationAbortedException(SR.ADP_OperationAborted, null); } else { e = new OperationAbortedException(SR.ADP_OperationAbortedExceptionMessage, inner); } return(e); }
static internal OperationAbortedException Aborted(Exception inner) { OperationAbortedException e; if (inner == null) { e = new OperationAbortedException(StringsHelper.GetString(Strings.ADP_OperationAborted), null); } else { e = new OperationAbortedException(StringsHelper.GetString(Strings.ADP_OperationAbortedExceptionMessage), inner); } ADP.TraceExceptionAsReturnValue(e); return(e); }