AjaxRequestExtensions Class

 

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

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.AjaxRequestExtensions

Syntax

public static class AjaxRequestExtensions
[ExtensionAttribute]
public ref class AjaxRequestExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type AjaxRequestExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class AjaxRequestExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static IsAjaxRequest(HttpRequestBase)

Determines whether the specified HTTP request is an AJAX request.

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

System.Web.Mvc Namespace

Return to top