Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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)
[ObsoleteAttribute("This constructor is obsolete, because its functionality has been moved to MvcForm(ViewContext) now.", 
	true)]
public MvcForm(
	HttpResponseBase httpResponse
)

Parameters

httpResponse
Type: System.Web.HttpResponseBase

The HTTP response object.

ExceptionCondition
ArgumentNullException

The httpResponse parameter is null.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.