HttpServerUtility.GetLastError Method ()
.NET Framework (current version)
Returns the previous exception.
Assembly: System.Web (in System.Web.dll)
The following example prints a description of the application's last error to the HTTP output stream. It prints "No Errors" if no errors have been encountered.
.NET Framework
Available since 1.1
Available since 1.1
Show: