Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

AjaxHelper Constructor (ViewContext, IViewDataContainer)

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 _
)
'Usage
Dim viewContext As ViewContext 
Dim viewDataContainer As IViewDataContainer 

Dim instance As New AjaxHelper(viewContext, _
	viewDataContainer)

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.

Show:
© 2015 Microsoft