DefaultControllerFactory.GetControllerSessionBehavior Method
Returns the controller's session behavior.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Protected Friend Overridable Function GetControllerSessionBehavior ( _ requestContext As RequestContext, _ controllerType As Type _ ) As SessionStateBehavior 'Usage Dim requestContext As RequestContext Dim controllerType As Type Dim returnValue As SessionStateBehavior returnValue = Me.GetControllerSessionBehavior(requestContext, _ controllerType)
Parameters
- requestContext
- Type: System.Web.Routing.RequestContext
The request context.
- controllerType
- Type: System.Type
The type of the controller.
Show: