Creates and configures an application domain for hosting ASP.NET.
<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted := True)> _ Public Shared Function CreateApplicationHost ( _ hostType As Type, _ virtualDir As String, _ physicalDir As String _ ) As Object
[SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)] public static Object CreateApplicationHost( Type hostType, string virtualDir, string physicalDir )
[SecurityPermissionAttribute(SecurityAction::Demand, Unrestricted = true)] public: static Object^ CreateApplicationHost( Type^ hostType, String^ virtualDir, String^ physicalDir )
[<SecurityPermissionAttribute(SecurityAction.Demand, Unrestricted = true)>] static member CreateApplicationHost : hostType:Type * virtualDir:string * physicalDir:string -> Object
The Web host computer is not running the Windows NT platform or a Coriolis environment.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2