Controller.Dispose Method

Include Protected Members
Include Inherited Members

Releases all resources that are used by the current instance of the Controller class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method Dispose() Releases all resources that are used by the current instance of the Controller class.
Protected method Dispose(Boolean) Releases unmanaged resources and optionally releases managed resources.

Top

Remarks

Developers rarely have to override Dispose. When you override Dispose, override the Dispose method, which takes a Boolean parameter.

See Also

Reference

Controller Class

System.Web.Mvc Namespace