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

Controller::DisableAsyncSupport Property

Gets whether to disable the asynchronous support for the controller.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
virtual property bool DisableAsyncSupport {
	bool get ();

Property Value

Type: System::Boolean
true to disable the asynchronous support for the controller; otherwise, false.

This flag is for backwards compatibility. ASP.NET MVC 4. allows a controller to support asynchronous patterns. This means ExecuteCore doesn't get called on derived classes. Derived classes can override this flag and set to true if they still need ExecuteCore to be called.

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