PersistenceModeAttribute(PersistenceMode) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the PersistenceModeAttribute class.
public:
PersistenceModeAttribute(System::Web::UI::PersistenceMode mode);
public PersistenceModeAttribute (System.Web.UI.PersistenceMode mode);
new System.Web.UI.PersistenceModeAttribute : System.Web.UI.PersistenceMode -> System.Web.UI.PersistenceModeAttribute
Public Sub New (mode As PersistenceMode)
Parameters
- mode
- PersistenceMode
The PersistenceMode value to assign to Mode.
Exceptions
mode
is not one of the PersistenceMode values.