DefaultViewLocationCache Constructor

 

Initializes a new instance of the DefaultViewLocationCache class.

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

NameDescription
System_CAPS_pubmethodDefaultViewLocationCache()

Initializes a new instance of the DefaultViewLocationCache class.

System_CAPS_pubmethodDefaultViewLocationCache(TimeSpan)

Initializes a new instance of the DefaultViewLocationCache class by using the specified cache time span.

Return to top

DefaultViewLocationCache Constructor ()

Initializes a new instance of the DefaultViewLocationCache class.

Public Sub New
Return to top

DefaultViewLocationCache Constructor (TimeSpan)

Initializes a new instance of the DefaultViewLocationCache class by using the specified cache time span.

Public Sub New (
	timeSpan As TimeSpan
)

Parameters

timeSpan
Type: System.TimeSpan

The cache time span.

Exception Condition
InvalidOperationException

The Ticks attribute of the timeSpan parameter is set to a negative number.

Return to top
Show: