Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
64 lines (61 sloc) 3.96 KB
<Type Name="ApplicationHost" FullName="System.Web.Hosting.ApplicationHost">
<TypeSignature Language="C#" Value="public sealed class ApplicationHost" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ApplicationHost extends System.Object" />
<TypeSignature Language="DocId" Value="T:System.Web.Hosting.ApplicationHost" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class ApplicationHost" />
<TypeSignature Language="C++ CLI" Value="public ref class ApplicationHost sealed" />
<TypeSignature Language="F#" Value="type ApplicationHost = class" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<summary>Enables hosting of ASP.NET pages outside the Internet Information Services (IIS) application. This class enables the host to create application domains for processing ASP.NET requests.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
<xref:System.Web.Hosting.ApplicationHost> is introduced in the .NET Framework version 3.5. For more information, see [Versions and Dependencies](~/docs/framework/migration-guide/versions-and-dependencies.md).
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName="CreateApplicationHost">
<MemberSignature Language="C#" Value="public static object CreateApplicationHost (Type hostType, string virtualDir, string physicalDir);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig object CreateApplicationHost(class System.Type hostType, string virtualDir, string physicalDir) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Hosting.ApplicationHost.CreateApplicationHost(System.Type,System.String,System.String)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function CreateApplicationHost (hostType As Type, virtualDir As String, physicalDir As String) As Object" />
<MemberSignature Language="C++ CLI" Value="public:&#xA; static System::Object ^ CreateApplicationHost(Type ^ hostType, System::String ^ virtualDir, System::String ^ physicalDir);" />
<MemberSignature Language="F#" Value="static member CreateApplicationHost : Type * string * string -&gt; obj" Usage="System.Web.Hosting.ApplicationHost.CreateApplicationHost (hostType, virtualDir, physicalDir)" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="hostType" Type="System.Type" />
<Parameter Name="virtualDir" Type="System.String" />
<Parameter Name="physicalDir" Type="System.String" />
</Parameters>
<Docs>
<param name="hostType">The name of a user-supplied class to be created in the new application domain.</param>
<param name="virtualDir">The virtual directory for the application domain; for example, /myapp.</param>
<param name="physicalDir">The physical directory for the application domain where ASP.NET pages are located; for example, c:\mypages.</param>
<summary>Creates and configures an application domain for hosting ASP.NET.</summary>
<returns>An instance of a user-supplied class used to marshal calls into the newly created application domain.</returns>
<remarks>To be added.</remarks>
<exception cref="T:System.PlatformNotSupportedException">The Web host computer is not running the Windows NT platform or a Coriolis environment.</exception>
</Docs>
</Member>
</Members>
</Type>
You can’t perform that action at this time.