Compartilhar via


ControllerContext Constructor

Include Protected Members
Include Inherited Members

Initializes a new instance of the ControllerContext 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 ControllerContext() Initializes a new instance of the ControllerContext class.
Protected method ControllerContext(ControllerContext) Initializes a new instance of the ControllerContext class by using the specified controller context.
Public method ControllerContext(RequestContext, ControllerBase) Initializes a new instance of the ControllerContext class by using the specified request context and controller.
Public method ControllerContext(HttpContextBase, RouteData, ControllerBase) Initializes a new instance of the ControllerContext class by using the specified HTTP context, URL route data, and controller.

Top

See Also

Reference

ControllerContext Class

System.Web.Mvc Namespace