Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

RequireHttpsAttribute.HandleNonHttpsRequest Method (AuthorizationContext)

 

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

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

Protected Overridable Sub HandleNonHttpsRequest (
	filterContext As AuthorizationContext
)

Parameters

filterContext
Type: System.Web.Mvc.AuthorizationContext

An object that encapsulates information that is required in order to use the RequireHttpsAttribute attribute.

Exception Condition
InvalidOperationException

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

Return to top
Show:
© 2015 Microsoft