SessionStateAttribute SessionStateAttribute 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
SessionStateAttributeSessionStateAttributeSessionStateAttribute
Attributes

Constructors

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

Initializes a new instance of the SessionStateAttribute class

Properties

Behavior Behavior Behavior

Get the session state behavior for the controller.

Applies to