ControllerBuilder::SetControllerFactory Method (Type)
Visual Studio 2010
Sets the controller factory by using the specified type.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- controllerFactoryType
- Type: System::Type
The type of the controller factory.
| Exception | Condition |
|---|---|
| ArgumentNullException | The controllerFactoryType parameter is nullptr. |
| ArgumentException | The controller factory cannot be assigned from the type in the controllerFactoryType parameter. |
| InvalidOperationException | An error occurred while the controller factory was being set. |
Community Additions
ADD
Show: