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)
abstract CreatePageFromVirtualPath : virtualPath:string * httpContext:HttpContextBase * virtualPathExists:Func<string, bool> * displayModeProvider:DisplayModeProvider * displayMode:IDisplayMode -> WebPageBase override CreatePageFromVirtualPath : virtualPath:string * httpContext:HttpContextBase * virtualPathExists:Func<string, bool> * 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: