HttpContext.AddError(Exception) 方法
定义
将异常添加到当前 HTTP 请求的异常集合中。Adds an exception to the exception collection for the current HTTP request.
public:
void AddError(Exception ^ errorInfo);
public void AddError (Exception errorInfo);
member this.AddError : Exception -> unit
Public Sub AddError (errorInfo As Exception)