|
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
|
Tradução
Original
|
Classe HttpRuntime
Namespace: System.Web
Assembly: System.Web (em System.Web.dll)
O tipo HttpRuntime expõe os membros a seguir.
| Nome | Descrição | |
|---|---|---|
![]() ![]() | AppDomainAppId | |
![]() ![]() | AppDomainAppPath | |
![]() ![]() | AppDomainAppVirtualPath | |
![]() ![]() | AppDomainId | |
![]() ![]() | AspClientScriptPhysicalPath | |
![]() ![]() | AspClientScriptVirtualPath | |
![]() ![]() | AspInstallDirectory | |
![]() ![]() | BinDirectory | |
![]() ![]() | Cache | |
![]() ![]() | ClrInstallDirectory | |
![]() ![]() | CodegenDir | |
![]() ![]() | IISVersion | |
![]() ![]() | IsOnUNCShare | |
![]() ![]() | MachineConfigurationDirectory | |
![]() ![]() | TargetFramework | |
![]() ![]() | UsingIntegratedPipeline |
| Nome | Descrição | |
|---|---|---|
![]() ![]() | Close | |
![]() | Equals(Object) | |
![]() | GetHashCode | |
![]() ![]() | GetNamedPermissionSet | Infraestrutura. |
![]() | GetType | |
![]() ![]() | ProcessRequest | |
![]() | ToString | |
![]() ![]() | UnloadAppDomain |
<%@ Page Language="C#" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> void Page_Load(Object sender, System.EventArgs e) { StringBuilder sb = new StringBuilder(); String nl = "<br />"; sb.Append("AppDomainAppId = " + HttpRuntime.AppDomainAppId + nl); sb.Append("AppDomainAppPath = " + HttpRuntime.AppDomainAppPath + nl); sb.Append("AppDomainAppVirtualPath = " + HttpRuntime.AppDomainAppVirtualPath + nl); sb.Append("AppDomainId = " + HttpRuntime.AppDomainId + nl); sb.Append("AspInstallDirectory = " + HttpRuntime.AspInstallDirectory + nl); sb.Append("BinDirectory = " + HttpRuntime.BinDirectory + nl); sb.Append("ClrInstallDirectory = " + HttpRuntime.ClrInstallDirectory + nl); sb.Append("CodegenDir = " + HttpRuntime.CodegenDir + nl); sb.Append("IsOnUNCShare = " + HttpRuntime.IsOnUNCShare.ToString() + nl); sb.Append("MachineConfigurationDirectory = " + HttpRuntime.MachineConfigurationDirectory + nl); label1.Text = sb.ToString(); } </script> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>HttpRuntime Example</title> </head> <body> <form id="form1" runat="server"> <asp:label id="label1" runat="server"/> </form> </body> </html>
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Função Server Core sem suporte), Windows Server 2008 R2 (Função Server Core com suporte com o SP1 ou posterior, Itanium sem suporte)
O .NET Framework não oferece suporte a todas as versões de cada plataforma. Para obter uma lista das versões com suporte, consulte .Requisitos de sistema do NET Framework.
