Freigeben über


RequireHttpsAttribute.HandleNonHttpsRequest Method

Handles unsecured HTTP requests that are sent to the action method.

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

Syntax

'Declaration
Protected Overridable Sub HandleNonHttpsRequest ( _
    filterContext As AuthorizationContext _
)
protected virtual void HandleNonHttpsRequest(
    AuthorizationContext filterContext
)
protected:
virtual void HandleNonHttpsRequest(
    AuthorizationContext^ filterContext
)

Parameters

Exceptions

Exception Condition
InvalidOperationException

The HTTP request contains an invalid transfer method override. All GET requests are considered invalid.

See Also

Reference

RequireHttpsAttribute Class

System.Web.Mvc Namespace