DefaultViewLocationCache Constructors
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.
Overloads
DefaultViewLocationCache() |
Initializes a new instance of the DefaultViewLocationCache class. |
DefaultViewLocationCache(TimeSpan) |
Initializes a new instance of the DefaultViewLocationCache class by using the specified cache time span. |
DefaultViewLocationCache()
Initializes a new instance of the DefaultViewLocationCache class.
public DefaultViewLocationCache ();
Public Sub New ()
Applies to
DefaultViewLocationCache(TimeSpan)
Initializes a new instance of the DefaultViewLocationCache class by using the specified cache time span.
public DefaultViewLocationCache (TimeSpan timeSpan);
new System.Web.Mvc.DefaultViewLocationCache : TimeSpan -> System.Web.Mvc.DefaultViewLocationCache
Public Sub New (timeSpan As TimeSpan)
Parameters
- timeSpan
- TimeSpan
The cache time span.
Exceptions
The Ticks attribute of the timeSpan
parameter is set to a negative number.