MvcForm Constructor (HttpResponseBase)

Note: This API is now obsolete.

Initializes a new instance of the MvcForm class using the specified HTTP response object.

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

public function MvcForm(
	httpResponse : HttpResponseBase
)

Parameters

httpResponse
Type: System.Web.HttpResponseBase

The HTTP response object.

ExceptionCondition
ArgumentNullException

The httpResponse parameter is a null reference (Nothing in Visual Basic).

Show: