PersistenceModeAttribute Constructor (PersistenceMode)
.NET Framework (current version)
This API supports the product infrastructure and is not intended to be used directly from your code.
Initializes a new instance of the PersistenceModeAttribute class.
Assembly: System.Web (in System.Web.dll)
Parameters
- mode
-
Type:
System.Web.UI.PersistenceMode
The PersistenceMode value to assign to Mode.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | mode is not one of the PersistenceMode values. |
.NET Framework
Available since 1.1
Available since 1.1
Show: