AjaxRequestExtensions Class

Represents a class that extends the HttpRequestBase class by adding the ability to determine whether an HTTP request is an AJAX request.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.AjaxRequestExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class AjaxRequestExtensions
public static class AjaxRequestExtensions
[ExtensionAttribute]
public ref class AjaxRequestExtensions abstract sealed

The AjaxRequestExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member IsAjaxRequest

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.Web.Mvc Namespace