IControllerFactory.GetControllerSessionBehavior Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the controller's session behavior.
public System.Web.SessionState.SessionStateBehavior GetControllerSessionBehavior (System.Web.Routing.RequestContext requestContext, string controllerName);
abstract member GetControllerSessionBehavior : System.Web.Routing.RequestContext * string -> System.Web.SessionState.SessionStateBehavior
Public Function GetControllerSessionBehavior (requestContext As RequestContext, controllerName As String) As SessionStateBehavior
Parameters
- requestContext
- RequestContext
The request context.
- controllerName
- String
The name of the controller whose session behavior you want to get.
Returns
The controller's session behavior.