Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
SetControllerFactory Method (IControllerFactory)
Collapse the table of content
Expand the table of content

ControllerBuilder.SetControllerFactory Method (IControllerFactory)

Sets the specified controller factory.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public void SetControllerFactory(
	IControllerFactory controllerFactory
)

Parameters

controllerFactory
Type: System.Web.Mvc.IControllerFactory
The controller factory.

ExceptionCondition
ArgumentNullException

The controllerFactory parameter is null.

Show:
© 2015 Microsoft