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);
}
return e;
}
}