Export (0) Print
Expand All

DefaultControllerFactory.IControllerFactory.GetControllerSessionBehavior Method

This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the GetControllerSessionBehavior method.

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

SessionStateBehavior IControllerFactory.GetControllerSessionBehavior(
	RequestContext requestContext,
	string controllerName
)

Parameters

requestContext
Type: System.Web.Routing.RequestContext

The request context.

controllerName
Type: System.String

The controller name.

Return Value

Type: System.Web.SessionState.SessionStateBehavior
The controller's session behavior.

Implements

IControllerFactory.GetControllerSessionBehavior(RequestContext, String)

This member is an explicit interface member implementation. It can be used only when a derived DefaultControllerFactory instance is cast to an IControllerFactory interface.

Show:
© 2014 Microsoft