DefaultControllerFactory.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.
Overloads
IControllerFactory.GetControllerSessionBehavior(RequestContext, String) |
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the GetControllerSessionBehavior(RequestContext, Type) method. |
IControllerFactory.GetControllerSessionBehavior(RequestContext, String)
This API supports the ASP.NET MVC infrastructure and is not intended to be used directly from your code. This method calls the GetControllerSessionBehavior(RequestContext, Type) method.
System.Web.SessionState.SessionStateBehavior IControllerFactory.GetControllerSessionBehavior (System.Web.Routing.RequestContext requestContext, string controllerName);
abstract member System.Web.Mvc.IControllerFactory.GetControllerSessionBehavior : System.Web.Routing.RequestContext * string -> System.Web.SessionState.SessionStateBehavior
override this.System.Web.Mvc.IControllerFactory.GetControllerSessionBehavior : System.Web.Routing.RequestContext * string -> System.Web.SessionState.SessionStateBehavior
Function GetControllerSessionBehavior (requestContext As RequestContext, controllerName As String) As SessionStateBehavior Implements IControllerFactory.GetControllerSessionBehavior
Parameters
- requestContext
- RequestContext
The request context.
- controllerName
- String
The controller name.
Returns
The controller's session behavior.