Export (0) Print
Expand All

ControllerBuilder.SetControllerFactory Method (Type)

.NET Framework 4

Sets the controller factory by using the specified type.

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

public void SetControllerFactory(
	Type controllerFactoryType
)

Parameters

controllerFactoryType
Type: System.Type
The type of the controller factory.

ExceptionCondition
ArgumentNullException

The controllerFactoryType parameter is null.

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:
© 2015 Microsoft