Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. System.Web
  3. HttpServerUtility
  4. GetLastError()
  • HttpServerUtility
    • MachineName
    • ScriptTimeout
    • ClearError()
    • CreateObject(String)
    • CreateObject(Type)
    • CreateObjectFromClsid(String)
    • Execute(String)
    • Execute(String, Boolean)
    • Execute(String, TextWriter)
    • Execute(IHttpHandler, TextWriter, Boolean)
    • Execute(String, TextWriter, Boolean)
    • GetLastError()
    • HtmlDecode(String)
    • HtmlDecode(String, TextWriter)
    • HtmlEncode(String)
    • HtmlEncode(String, TextWriter)
    • MapPath(String)
    • Transfer(String)
    • Transfer(IHttpHandler, Boolean)
    • Transfer(String, Boolean)
    • TransferRequest(String)
    • TransferRequest(String, Boolean)
    • TransferRequest(String, Boolean, String, NameValueCollection)
    • TransferRequest(String, Boolean, String, NameValueCollection, Boolean)
    • UrlDecode(String)
    • UrlDecode(String, TextWriter)
    • UrlEncode(String)
    • UrlEncode(String, TextWriter)
    • UrlPathEncode(String)
    • UrlTokenDecode(String)
    • UrlTokenEncode(Byte[])
net10.0
namespace System.Web
{
    public class HttpServerUtility
    {
        public Exception? GetLastError();
    }
}
nuget.org
0.1 %
Reference this API
.NET
8.09.010.0
.NET Framework
2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assembly

Microsoft.AspNetCore.SystemWebAdapters , Version=2.2.1.0, PublicKeyToken=adb9793829ddae60

Referencing

Your project needs a package reference to Microsoft.AspNetCore.SystemWebAdapters.

Package Microsoft.AspNetCore.SystemWebAdapters (2.2.1) net10.0
Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/11/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙