WebRazorHostFactory.CreateDefaultHost WebRazorHostFactory.CreateDefaultHost WebRazorHostFactory.CreateDefaultHost Method

Definition

Overloads

CreateDefaultHost(String) CreateDefaultHost(String) CreateDefaultHost(String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual path.

CreateDefaultHost(String, String) CreateDefaultHost(String, String) CreateDefaultHost(String, String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual and physical path.

CreateDefaultHost(String) CreateDefaultHost(String) CreateDefaultHost(String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual path.

public static System.Web.WebPages.Razor.WebPageRazorHost CreateDefaultHost (string virtualPath);
static member CreateDefaultHost : string -> System.Web.WebPages.Razor.WebPageRazorHost
Public Shared Function CreateDefaultHost (virtualPath As String) As WebPageRazorHost
Parameters
virtualPath
String String String

The virtual path of the file.

Returns

CreateDefaultHost(String, String) CreateDefaultHost(String, String) CreateDefaultHost(String, String)

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a default host with the specified virtual and physical path.

public static System.Web.WebPages.Razor.WebPageRazorHost CreateDefaultHost (string virtualPath, string physicalPath);
static member CreateDefaultHost : string * string -> System.Web.WebPages.Razor.WebPageRazorHost
Public Shared Function CreateDefaultHost (virtualPath As String, physicalPath As String) As WebPageRazorHost
Parameters
virtualPath
String String String

The virtual path of the file.

physicalPath
String String String

The physical file system path.

Returns

Applies to