Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Note: This API is now obsolete.
Initializes a new instance of the AuthorizationContext class using the specified controller context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
<ObsoleteAttribute("The recommended alternative is the constructor AuthorizationContext(ControllerContext controllerContext, ActionDescriptor actionDescriptor).")> _
Public Sub New ( _
controllerContext As ControllerContext _
)
[ObsoleteAttribute("The recommended alternative is the constructor AuthorizationContext(ControllerContext controllerContext, ActionDescriptor actionDescriptor).")]
public AuthorizationContext(
ControllerContext controllerContext
)
[ObsoleteAttribute(L"The recommended alternative is the constructor AuthorizationContext(ControllerContext controllerContext, ActionDescriptor actionDescriptor).")]
public:
AuthorizationContext(
ControllerContext^ controllerContext
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The context within which the result is executed. The context information includes the controller, HTTP content, request context, and route data.