WebPageBase.CreatePageFromVirtualPath Metoda

Definicja

Próbuje utworzyć wystąpienie bazy danych WebPageBase na podstawie ścieżki wirtualnej i opakowuje złożone wyjątki kompilatora z prostszymi komunikatami

protected virtual System.Web.WebPages.WebPageBase CreatePageFromVirtualPath (string virtualPath, System.Web.HttpContextBase httpContext, Func<string,bool> virtualPathExists, System.Web.WebPages.DisplayModeProvider displayModeProvider, System.Web.WebPages.IDisplayMode displayMode);
abstract member CreatePageFromVirtualPath : string * System.Web.HttpContextBase * Func<string, bool> * System.Web.WebPages.DisplayModeProvider * System.Web.WebPages.IDisplayMode -> System.Web.WebPages.WebPageBase
override this.CreatePageFromVirtualPath : string * System.Web.HttpContextBase * Func<string, bool> * System.Web.WebPages.DisplayModeProvider * System.Web.WebPages.IDisplayMode -> System.Web.WebPages.WebPageBase
Protected Overridable Function CreatePageFromVirtualPath (virtualPath As String, httpContext As HttpContextBase, virtualPathExists As Func(Of String, Boolean), displayModeProvider As DisplayModeProvider, displayMode As IDisplayMode) As WebPageBase

Parametry

virtualPath
String
httpContext
HttpContextBase
virtualPathExists
Func<String,Boolean>
displayModeProvider
DisplayModeProvider
displayMode
IDisplayMode

Zwraca

Dotyczy