Export (0) Print
Expand All

DefaultControllerFactory.GetControllerSessionBehavior Method

Returns the controller's session behavior.

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

abstract GetControllerSessionBehavior : 
        requestContext:RequestContext * 
        controllerType:Type -> SessionStateBehavior  
override GetControllerSessionBehavior : 
        requestContext:RequestContext * 
        controllerType:Type -> SessionStateBehavior

Parameters

requestContext
Type: System.Web.Routing.RequestContext

The request context.

controllerType
Type: System.Type

The type of the controller.

Return Value

Type: System.Web.SessionState.SessionStateBehavior
The controller's session behavior.
Show:
© 2015 Microsoft