Certain types such as ApplicationException
are outdated and should no longer be used as they can either be marked as obsolete or be dropped entirely in the future. It is therefore recommended that you use the prescribed replacement types instead.
public class MyException : ApplicationException
{
}
public class MyException : Exception
{
}