Export (0) Print
Expand All

JsonResult::JsonRequestBehavior Property

Gets or sets a value that indicates whether HTTP GET requests from the client are allowed.

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

public:
property JsonRequestBehavior JsonRequestBehavior {
	JsonRequestBehavior get ();
	void set (JsonRequestBehavior value);
}

Property Value

Type: System.Web.Mvc::JsonRequestBehavior
A value that indicates whether HTTP GET requests from the client are allowed.

The default value is DenyGet.

Show:
© 2014 Microsoft