AuthenticationChallengeContext Constructor
Initializes a new instance of the AuthenticationChallengeContext class.
Namespace: System.Web.Mvc.Filters
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Overload List
Name | Description | |
---|---|---|
AuthenticationChallengeContext() | Initializes a new instance of the AuthenticationChallengeContext class. |
|
AuthenticationChallengeContext(ControllerContext, ActionDescriptor, ActionResult) | Initializes a new instance of the AuthenticationChallengeContext class. |
See Also
AuthenticationChallengeContext Class
System.Web.Mvc.Filters Namespace
Return to top
AuthenticationChallengeContext Constructor ()
Initializes a new instance of the AuthenticationChallengeContext class.
Syntax
public AuthenticationChallengeContext()
public:
AuthenticationChallengeContext()
new : unit -> AuthenticationChallengeContext
Public Sub New
Return to top
AuthenticationChallengeContext Constructor (ControllerContext, ActionDescriptor, ActionResult)
Initializes a new instance of the AuthenticationChallengeContext class.
Syntax
public AuthenticationChallengeContext(
ControllerContext controllerContext,
ActionDescriptor actionDescriptor,
ActionResult result
)
public:
AuthenticationChallengeContext(
ControllerContext^ controllerContext,
ActionDescriptor^ actionDescriptor,
ActionResult^ result
)
new :
controllerContext:ControllerContext *
actionDescriptor:ActionDescriptor *
result:ActionResult -> AuthenticationChallengeContext
Public Sub New (
controllerContext As ControllerContext,
actionDescriptor As ActionDescriptor,
result As ActionResult
)
Parameters
controllerContext
Type: System.Web.Mvc.ControllerContextThe controller context.
actionDescriptor
Type: System.Web.Mvc.ActionDescriptorThe action methods associated with the challenge.
result
Type: System.Web.Mvc.ActionResultThe challenge response.
Return to top