.NET Framework Class Library
DefaultControllerFactory.ReleaseController Method
Releases the specified controller.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
Visual Basic
Public Overridable Sub ReleaseController ( _ controller As IController _ )
C#
public virtual void ReleaseController( IController controller )
Visual C++
public: virtual void ReleaseController( IController^ controller )
Parameters
- controller
- Type: System.Web.Mvc.IController
The controller to release.
Implements
IControllerFactory.ReleaseController(IController)See Also