DefaultControllerFactory.IControllerFactory.GetControllerSessionBehavior Method (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 method.

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

Syntax

SessionStateBehavior IControllerFactory.GetControllerSessionBehavior(
    RequestContext requestContext,
    string controllerName
)
private:
virtual SessionStateBehavior GetControllerSessionBehavior(
    RequestContext^ requestContext,
    String^ controllerName
) sealed = IControllerFactory::GetControllerSessionBehavior
private abstract GetControllerSessionBehavior : 
        requestContext:RequestContext *
        controllerName:string -> SessionStateBehavior
private override GetControllerSessionBehavior : 
        requestContext:RequestContext *
        controllerName:string -> SessionStateBehavior
Private Function GetControllerSessionBehavior (
    requestContext As RequestContext,
    controllerName As String
) As SessionStateBehavior
    Implements IControllerFactory.GetControllerSessionBehavior

Parameters

Return Value

Type: System.Web.SessionState.SessionStateBehavior

The controller's session behavior.

Implements

IControllerFactory.GetControllerSessionBehavior(RequestContext, String)

Remarks

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

See Also

DefaultControllerFactory Class
System.Web.Mvc Namespace

Return to top