DefaultViewLocationCache Constructors

Definition

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.

Applies to