HttpRuntime

HttpRuntime

System.Web (system.web.dll)sealed class

The HttpRuntime class provides ASP.NET runtime services and is used transparently by the ASP.NET framework. In some rare cases, you may want to use it. For example, you can use the ProcessRequest( ) static (shared) method to process an ASP.NET request outside of Internet Information Server and Close( ) to clear the cache and shut down the Common Language Runtime.

public sealed class HttpRuntime { // Public Constructors    public HttpRuntime( ); // Public Static Properties    public static string AppDomainAppId{get; }    public static string AppDomainAppPath{get; }    public static string AppDomainAppVirtualPath{get; }    public static string AppDomainId{get; }    public static string AspInstallDirectory{get; }    public static string BinDirectory{get; }    public static Cache Cache{get; }    public static string ClrInstallDirectory{get; }    public static string CodegenDir{get; }    public static bool IsOnUNCShare{get; }    public static string MachineConfigurationDirectory{get; } // Public Static Methods    public static void Close( );    public static void ProcessRequest(HttpWorkerRequest wr);    public static void UnloadAppDomain( ); }


ASP. NET in a Nutshell
ASP.NET in a Nutshell, Second Edition
ISBN: 0596005202
EAN: 2147483647
Year: 2003
Pages: 873

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net