WebPageContext Constructors  
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.
Overloads
| WebPageContext() | Initializes a new instance of the WebPageContext class. | 
| WebPageContext(HttpContextBase, WebPageRenderingBase, Object) | Initializes a new instance of the class by using the specified context, page, and model. | 
WebPageContext()
Initializes a new instance of the WebPageContext class.
public WebPageContext();Public Sub New ()Applies to
WebPageContext(HttpContextBase, WebPageRenderingBase, Object)
Initializes a new instance of the class by using the specified context, page, and model.
public WebPageContext(System.Web.HttpContextBase context, System.Web.WebPages.WebPageRenderingBase page, object model);new System.Web.WebPages.WebPageContext : System.Web.HttpContextBase * System.Web.WebPages.WebPageRenderingBase * obj -> System.Web.WebPages.WebPageContextPublic Sub New (context As HttpContextBase, page As WebPageRenderingBase, model As Object)Parameters
- context
- HttpContextBase
The HTTP request context data to associate with the page context.
- page
- WebPageRenderingBase
The page data to share between pages, layout pages, and partial pages.
- model
- Object
The model to associate with the view data.