Ignore or cancel the exceptions handling for certain cases by creating a custom ErrorHandler. It could be something like this (pseudo code):
public class CustomHandleErrorAttribute : FilterAttribute, IExceptionFilter
{
public void OnException(ExceptionContext filterContext)
{
//do nothing here.
}
}
I myself need to try this once.
No comments:
Post a Comment