ControllerBase.Execute Method
Executes the specified request context.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Protected Overridable Sub Execute ( _
requestContext As RequestContext _
)
protected virtual void Execute(
RequestContext requestContext
)
protected:
virtual void Execute(
RequestContext^ requestContext
)
Parameters
- requestContext
Type: System.Web.Routing.RequestContext
The request context.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The requestContext parameter is null reference (Nothing in Visual Basic). |
Remarks
This method is an implementation of Execute. You typically do not have to override this method. Override Initialize or ExecuteCore instead.