SessionStateAttribute(SessionStateBehavior) SessionStateAttribute(SessionStateBehavior) SessionStateAttribute(SessionStateBehavior) Constructor

Definition

Initializes a new instance of the SessionStateAttribute class

public SessionStateAttribute (System.Web.SessionState.SessionStateBehavior behavior);
new System.Web.Mvc.SessionStateAttribute : System.Web.SessionState.SessionStateBehavior -> System.Web.Mvc.SessionStateAttribute
Public Sub New (behavior As SessionStateBehavior)

Parameters

behavior
SessionStateBehavior SessionStateBehavior SessionStateBehavior

The type of the session state.

Applies to