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.
Initializes the specified request context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Sub Initialize ( _
requestContext As RequestContext _
)
protected virtual void Initialize(
RequestContext requestContext
)
protected:
virtual void Initialize(
RequestContext^ requestContext
)
Parameters
- requestContext
Type: System.Web.Routing.RequestContext
The request context.
Remarks
This method is responsible for setting up the controller in preparation for handling a request. By default, this method only sets the ControllerContext property. However, your implementation of this method can perform any required tasks before it handles a request, such as setting the current culture, finding the action to execute, and so on.