WebPageContext Constructors

Definition

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.WebPageContext
Public 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.

Applies to