RazorBuildProvider.CreateHost 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.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Creates a Razor engine host instance base on web configuration.
protected internal virtual System.Web.WebPages.Razor.WebPageRazorHost CreateHost();
abstract member CreateHost : unit -> System.Web.WebPages.Razor.WebPageRazorHost
override this.CreateHost : unit -> System.Web.WebPages.Razor.WebPageRazorHost
Protected Friend Overridable Function CreateHost () As WebPageRazorHost
Returns
A Razor engine host instance.