Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the DefaultViewLocationCache class by using the specified cache time span.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Sub New ( _
timeSpan As TimeSpan _
)
public DefaultViewLocationCache(
TimeSpan timeSpan
)
public:
DefaultViewLocationCache(
TimeSpan timeSpan
)
Parameters
- timeSpan
Type: System.TimeSpan
The cache time span.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The Ticks attribute of the timeSpan parameter is set to a negative number. |
See Also
Reference
DefaultViewLocationCache Class