ControllerBuilder.SetControllerFactory Method (IControllerFactory)
Sets the specified controller factory.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub SetControllerFactory ( _
controllerFactory As IControllerFactory _
)
public void SetControllerFactory(
IControllerFactory controllerFactory
)
public:
void SetControllerFactory(
IControllerFactory^ controllerFactory
)
Parameters
- controllerFactory
Type: System.Web.Mvc.IControllerFactory
The controller factory.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The controllerFactory parameter is null reference (Nothing in Visual Basic). |