System.Data.OperationAbortedException.Aborted C# (CSharp) Method

Aborted() static private method

static private Aborted ( Exception inner ) : OperationAbortedException
inner Exception
return OperationAbortedException
        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;
        }
    }
OperationAbortedException