PersistenceModeAttribute Constructor (PersistenceMode)

 

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.

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

public PersistenceModeAttribute(
	PersistenceMode mode
)

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
Return to top
Show: