static internal OperationAbortedException Aborted(Exception inner) { OperationAbortedException e; if (inner == null) { e = new OperationAbortedException(Res.GetString(Res.ADP_OperationAborted), null); } else { e = new OperationAbortedException(Res.GetString(Res.ADP_OperationAbortedExceptionMessage), inner); } ADP.TraceExceptionAsReturnValue(e); return e; }
internal static OperationAbortedException Aborted(Exception inner) { OperationAbortedException e; if (inner == null) { e = new OperationAbortedException(Res.GetString(Res.ADP_OperationAborted), null); } else { e = new OperationAbortedException(Res.GetString(Res.ADP_OperationAbortedExceptionMessage), inner); } return(e); }
internal static OperationAbortedException Aborted(Exception inner) { OperationAbortedException exception; if (inner == null) { exception = new OperationAbortedException(Res.GetString("ADP_OperationAborted"), null); } else { exception = new OperationAbortedException(Res.GetString("ADP_OperationAbortedExceptionMessage"), inner); } ADP.TraceExceptionAsReturnValue(exception); return exception; }
static internal OperationAbortedException Aborted(Exception inner) { OperationAbortedException e; if (inner == null) { e = new OperationAbortedException(Res.GetString(Res.ADP_OperationAborted), null); } else { e = new OperationAbortedException(Res.GetString(Res.ADP_OperationAbortedExceptionMessage), inner); } ADP.TraceExceptionAsReturnValue(e); return(e); }
internal static OperationAbortedException Aborted(Exception inner) { OperationAbortedException exception; if (inner == null) { exception = new OperationAbortedException(Res.GetString("ADP_OperationAborted"), null); } else { exception = new OperationAbortedException(Res.GetString("ADP_OperationAbortedExceptionMessage"), inner); } ADP.TraceExceptionAsReturnValue(exception); return(exception); }
//���������� ���������� ������ �������� private static void HandleOperationAbortedException(OperationAbortedException operationAbortedException) { ShowExceptionDialog(operationAbortedException, "�������� ���� ��������.", "����������� ���� ������ ��������", MessageBoxIcon.Information, true); }