WebPageBase.CreatePageFromVirtualPath Method
Attempts to create a WebPageBase instance from a virtualPath and wraps complex compiler exceptions with simpler messages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
protected function CreatePageFromVirtualPath( virtualPath : String, httpContext : HttpContextBase, virtualPathExists : Func<String, boolean>, displayModeProvider : DisplayModeProvider, displayMode : IDisplayMode ) : WebPageBase
Parameters
- virtualPath
- Type: System.String
- httpContext
- Type: System.Web.HttpContextBase
- virtualPathExists
- Type: System.Func(String, Boolean)
- displayModeProvider
- Type: System.Web.WebPages.DisplayModeProvider
- displayMode
- Type: System.Web.WebPages.IDisplayMode
Show: