WebRazorHostFactory.CreateHostFromConfig Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateHostFromConfig(String) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. |
CreateHostFromConfig(String, String) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. |
CreateHostFromConfig(RazorWebSectionGroup, String) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. |
CreateHostFromConfig(RazorWebSectionGroup, String, String) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration. |
CreateHostFromConfig(String)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.
public static System.Web.WebPages.Razor.WebPageRazorHost CreateHostFromConfig (string virtualPath);
static member CreateHostFromConfig : string -> System.Web.WebPages.Razor.WebPageRazorHost
Public Shared Function CreateHostFromConfig (virtualPath As String) As WebPageRazorHost
Parameters
- virtualPath
- String
The virtual path to the target file.
Returns
A host from the configuration.
Applies to
CreateHostFromConfig(String, String)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.
public static System.Web.WebPages.Razor.WebPageRazorHost CreateHostFromConfig (string virtualPath, string physicalPath);
static member CreateHostFromConfig : string * string -> System.Web.WebPages.Razor.WebPageRazorHost
Public Shared Function CreateHostFromConfig (virtualPath As String, physicalPath As String) As WebPageRazorHost
Parameters
- virtualPath
- String
The virtual path of the file.
- physicalPath
- String
The physical file system path.
Returns
A host from the configuration.
Applies to
CreateHostFromConfig(RazorWebSectionGroup, String)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.
public static System.Web.WebPages.Razor.WebPageRazorHost CreateHostFromConfig (System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup config, string virtualPath);
static member CreateHostFromConfig : System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup * string -> System.Web.WebPages.Razor.WebPageRazorHost
Public Shared Function CreateHostFromConfig (config As RazorWebSectionGroup, virtualPath As String) As WebPageRazorHost
Parameters
- config
- RazorWebSectionGroup
The configuration.
- virtualPath
- String
The virtual path of the file.
Returns
A host from the configuration.
Applies to
CreateHostFromConfig(RazorWebSectionGroup, String, String)
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a host from the configuration.
public static System.Web.WebPages.Razor.WebPageRazorHost CreateHostFromConfig (System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup config, string virtualPath, string physicalPath);
static member CreateHostFromConfig : System.Web.WebPages.Razor.Configuration.RazorWebSectionGroup * string * string -> System.Web.WebPages.Razor.WebPageRazorHost
Public Shared Function CreateHostFromConfig (config As RazorWebSectionGroup, virtualPath As String, physicalPath As String) As WebPageRazorHost
Parameters
- config
- RazorWebSectionGroup
The configuration.
- virtualPath
- String
The virtual path of the file.
- physicalPath
- String
The physical file system path.
Returns
A host from the configuration.