SessionAttribute Constructor

.NET Framework (current version)
 

Initializes a new instance of the SessionAttribute class.

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

NameDescription
System_CAPS_pubmethodSessionAttribute()

Initializes a new instance of the SessionAttribute class.

System_CAPS_pubmethodSessionAttribute(String^)

Initializes a new instance of the SessionAttribute class, using the session state name.

For a tutorial series on using model binding with Web Forms, see Model Binding and Web Forms.

Return to top
Show: