AjaxHelper Constructor (ViewContext, IViewDataContainer)

Visual Studio 2010

Initializes a new instance of the AjaxHelper class using the specified view context and view data container.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Sub New ( _
	viewContext As ViewContext, _
	viewDataContainer As IViewDataContainer _
)

Parameters

viewContext
Type: System.Web.Mvc.ViewContext
The view context.
viewDataContainer
Type: System.Web.Mvc.IViewDataContainer
The view data container.

ExceptionCondition
ArgumentNullException

One or both of the parameters is Nothing.

Community Additions

ADD
Show: