DefaultViewLocationCache.GetViewLocation Method
Retrieves the default view location by using the specified HTTP context and cache key.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
abstract GetViewLocation : httpContext:HttpContextBase * key:string -> string override GetViewLocation : httpContext:HttpContextBase * key:string -> string
Parameters
- httpContext
- Type: System.Web.HttpContextBase
The HTTP context.
- key
- Type: System.String
The cache key
Implements
IViewLocationCache.GetViewLocation(HttpContextBase, String)| Exception | Condition |
|---|---|
| ArgumentNullException | The httpContext parameter is a null reference (Nothing in Visual Basic). |
Show: