Share via


SessionStateAttribute Class

Definition

Specifies the session state of the controller.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public sealed class SessionStateAttribute : Attribute
type SessionStateAttribute = class
    inherit Attribute
Public NotInheritable Class SessionStateAttribute
Inherits Attribute
Inheritance
SessionStateAttribute
Attributes

Constructors

SessionStateAttribute(SessionStateBehavior)

Initializes a new instance of the SessionStateAttribute class

Properties

Behavior

Get the session state behavior for the controller.

Applies to